[Puppet Users] Re: site.pp Does include work inside a node definition?

2013-11-17 Thread Puppet Muppet
OK got it working! On Saturday, November 16, 2013 6:13:04 PM UTC, Puppet Muppet wrote: > > > Hi, > > Is it possible to use Include as I have done below, inside my node > statement? > I'm guessing not as it's not working :) > > Any ideas how I get my test.pp manifest so that it only applys to m

[Puppet Users] apt-get installing packages with dependencies

2013-11-17 Thread Puppet Muppet
Hi, I'm having trouble installing packages that have dependencies. (I can install packages like zip fine.) for example I would like to install s3cmd. Installing from command line I would run. #apt-get -y -o APT::Install-Suggests="true" install s3cmd which will install python-support & s3cmd. My

Re: [Puppet Users] apt-get installing packages with dependencies

2013-11-17 Thread Ramin K
On 11/17/2013 8:15 AM, Puppet Muppet wrote: Hi, I'm having trouble installing packages that have dependencies. (I can install packages like zip fine.) for example I would like to install s3cmd. Installing from command line I would run. #apt-get -y -o APT::Install-Suggests="true" install s3cmd w

[Puppet Users] file resource calling a 'define'd exec syntax?

2013-11-17 Thread dkoleary
Hi; This one should be easy; but, so far, it's eluding me. I would like to configure ssh to use a different directory for authorized keys files. I have the file resource which that works on its own. I want the file resource to call the exec to set the selinux type on the directory when neede

Re: [Puppet Users] file resource calling a 'define'd exec syntax?

2013-11-17 Thread Neil - Puppet List
Hello First up the file type supports selinux roles etc so you might not need any of that. If you did make the exec resource refreshonly and notify it from the file resource. Anyway the parser is right the syntax is bad. Inside the curly its always like type{'name': var => value, Followed by more

[Puppet Users] scope question

2013-11-17 Thread Jay Christopherson
I have a parent class, a child class, and a defined type, like so: *init.pp*: class parent { create_resources(parent::versions, hiera('versions')) ... } *versions.pp:* define parent::versions($version) { } *child.pp*: class parent::child { include parent notify{ "${version}": } } (

[Puppet Users] Re: scope question

2013-11-17 Thread Jay Christopherson
If I stick a "notify { "$version": }" into the define, it shows the expected value, so my issue appears to be scope access. On Sun, Nov 17, 2013 at 4:50 PM, Jay Christopherson wrote: > I have a parent class, a child class, and a defined type, like so: > > *init.pp*: > class parent { > create_r

[Puppet Users] Run 'puppet facts' in ENC

2013-11-17 Thread Alexander Luetjen
Hi, In an ENC I try to run 'puppet facts find ' to retrieve more information about a node. However, the execution of 'puppet facts' fails with the following error message: Error: could not initialize global default settings: couldn't find HOME environment -- expanding `~/.puppet' What's corr

[Puppet Users] Puppet Enterprise Console not accessing the modules

2013-11-17 Thread Rafael Abdalla
Hi Community, I have installed Puppet Enterprise 3.1 recently and I could not get Puppet Console working properly yet with the modules that I have installed. I checked the module path and it is correct. The reports are working. The below error message is consistently being displayed on the

Re: [Puppet Users] Can puppetdb use an SSL cert signed by CA that differs from the puppetmasters?

2013-11-17 Thread Ken Barber
> Following up: http://projects.puppetlabs.com/issues/23180 So someone else was discussing this on IRC, was it you? I'm just asking because I was trying to remember if there was another user trying to do a similar thing. > Thanks again. I think I spent enough time to figure out how I can hack th