[Puppet Users] Last Step In Initial Puppet Run

2013-02-06 Thread Brian Carpio
I need a way to put down a file, /tmp/finished, for instance as the last step in an initial puppet run. I've tried playing with the relationship syntax: * | | - File[/tmp/finished] But that doesn't work For now I am using Package | | - File[/tmp/finished] And that seems to work most of

[Puppet Users] Puppet ENC

2012-07-27 Thread Brian Carpio
I'm trying to get basic ENC functionality to work but I think I am missing the boat here so to speak. PuppetMaster - 2.7.17-1puppetlabs1 Puppet Agent - 2.7.14-1puppetlabs1 --- puppet.conf on master --- [master] node_terminus = exec external_nodes = /etc/puppet/enc.sh

[Puppet Users] Re: Puppet ENC

2012-07-27 Thread Brian Carpio
Apparently my spacing was off in my shell script, fixed that and also discovered what was wrong with my origional python script which is actually used as the enc exec. thanks, Brian On Friday, July 27, 2012 11:03:31 AM UTC-6, Brian Carpio wrote: I'm trying to get basic ENC functionality

[Puppet Users] ENC and Passenger

2012-06-06 Thread Brian Carpio
Hi, I have passenger up and running and everything was working file while I was using the /etc/puppet/manifests/nodes.pp file. Recently I switched over to using LDAP as an external node classifer and now when I start passenger for some reason puppet doesn't look to ldap for node class info.

[Puppet Users] Re: ENC and Passenger

2012-06-06 Thread Brian Carpio
Nevermind, I turned on debug and noticed passenger / apache couldn't read the puppet.conf file. Once I fixed that everything worked as expected. On Jun 6, 12:19 pm, Brian Carpio bcar...@thetek.net wrote: Hi, I have passenger up and running and everything was working file while I was using

[Puppet Users] Simply Auto Increment A Number

2012-05-29 Thread Brian Carpio
=simple binddn=cn=%= scope.lookupvar('openldap::params::binddn') % credentials=%= scope.lookupvar('openldap::params::secret') % % end -% I want to auto increment the {0}rid=001 for each iteration of the loop. Is there an easy way to do this with out creating a hash map? Thanks, Brian Carpio

[Puppet Users] Specifying Puppet Modules For EC2 Instances

2012-05-15 Thread Brian Carpio
Currently I am using ec2-run-instances to deploy Ubuntu instances to EC2. I am also calling a user-data-file to install puppet and make sure puppet registeres with the right puppetmaster, that is all working great, the default puppet modules are applied... However, is there a way from the node in

[Puppet Users] Templating DHCP3-Server Need To Loop Through Subnets

2012-04-26 Thread Brian Carpio
I know the title doesn't define what I am trying to do very well but this is what I'd like to accomplish. I have a params.pp which defines the subnets I would like to have setup in my .dhcpd.conf.erb, but default the dhcpd.conf looks like this: subnet 192.168.10.0 netmask 255.255.255.0 {

[Puppet Users] Re: Templating DHCP3-Server Need To Loop Through Subnets

2012-04-26 Thread Brian Carpio
Thanks Greg. Just what I was looking for! Brian Carpio On Apr 26, 10:43 am, Greg Sutcliffe gsutcli...@ibahn.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 17:24:17 BST, Brian Carpio wrote: $subnet = [ 192.168.10.0, 192.168.20.0, 192.168.30.0 ] $range

[Puppet Users] File Loop, Possible??

2012-04-25 Thread Brian Carpio
Is there a way to define a single file resource or even exec resource like this: file { $module::params::base_dir : ensure = directory owner = root group = root, } file { $module::params::base_dir/$module::params::name: ensure = directory owner = root, group = root, } I

[Puppet Users] Puppet Enterprise 2.5 and cucumber-puppet

2012-03-29 Thread Brian Carpio
Is cucumber-puppet compatible with Puppet Enterprise 2.5? If not is there a test framework which is similar that is? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To