The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
4answers
242 views

exporting variable globally

I can save the IP address of the current server to a variable and echo it out. # myvar=$(/sbin/ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}') # echo $myvar ...
2
votes
2answers
501 views

Accessing node variable in class and using it in a conditionnal

I am trying to configure Apache Virtual Hosts with Puppet and have been trying different things with little success. I have defined a node as the following : node 'test1.cob' inherits serveurClient ...