Displaying 3 results from an estimated 3 matches for "sitedomain".
Did you mean:
set_domain
2013 May 13
2
Creating defined resources based on array of parameters.
...y of hashes, and then create defined
resources from these array items. I am having trouble figuring out the
syntax for accessing the hash values for the hash currently being worked on
("self?").
Here''s the code to make it clear:
##### Configuration arguments
$sites = [{
sitedomain => ''site1.domain.dev'',
repo => ''git@repo.address/Repo'',
branch => ''develop'',
serveralias => "",
priority => ''010''
},{
sitedomain => ''site2.domain.dev'',
rep...
2013 Feb 15
2
Puppet agent daemon not seeing a Facter fact
...ncmd:
- sleep 20
- echo ''export FACTER_tl_role=development'' >> /etc/environment
- . /etc/environment
- apt-get install puppet
- puppet agent --test
Main puppet manifest:
# /etc/puppet/manifests/site.pp
node default {
case $tl_role {
''development'': { $sitedomain = "dev.foo.bar"}
''production'': { $sitedomain = "new.foo.bar"}
}
class {"code" : sitedomain => $sitedomain}
class {"apache::site" : sitedomain => $sitedomain}
class {"nodejs::grunt-daemon" : sitedomain => $sitedomain}...
2007 Aug 30
8
experimental rails story adapter in trunk
For those of you interested in getting a jump on learning about and
using the new Story Runner in a Rails app, I''ve added an experimental
Rails-Story adapter to trunk.
You can see how to use it here:
http://pastie.caboo.se/92320
This is PURELY EXPERIMENTAL, however it actually works and will likely
not change much in the way that it does work.
Happy hacking!
David