Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Jeff McCune
On Thu, May 24, 2012 at 12:35 PM, Matt F wrote: > Do I _have_ to use a module? I'm starting out with the very basics. All I > want to do is copy a single file. would this work with a class instead of a > module? I'm starting to read your "Pro Puppet" book... and on pg 20 modules > are described a

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Matt F
Do I _have_ to use a module? I'm starting out with the very basics. All I want to do is copy a single file. would this work with a class instead of a module? I'm starting to read your "Pro Puppet" book... and on pg 20 modules are described as "an ADVANCED, portable..." keyword ADVANCED. -- You

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Jeff McCune
On Thu, May 24, 2012 at 10:02 AM, Matt F wrote: > I ended up installing yet another puppetmaster, and I think that resolved > my cert issues. However, my client still cannot get a test file from the > puppetmaster. There is NO firewall or selinux running on the server (both > disabled). > > files

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Matt F
I ended up installing yet another puppetmaster, and I think that resolved my cert issues. However, my client still cannot get a test file from the puppetmaster. There is NO firewall or selinux running on the server (both disabled). fileserver.conf has: [files] path /var/lib/puppet/files

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Josh Cooper
On Thu, May 24, 2012 at 4:32 AM, Matt F wrote: > > Thanks Josh - here's the output: > > C:\Windows\system32>puppet agent --test --debug > > debug: Failed to load library 'syslog' for feature 'syslog' > debug: Failed to load library 'selinux' for feature 'selinux' > debug: Puppet::Type::File::Provi

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-24 Thread Matt F
Thanks Josh - here's the output: C:\Windows\system32>puppet agent --test --debug debug: Failed to load library 'syslog' for feature 'syslog' debug: Failed to load library 'selinux' for feature 'selinux' debug: Puppet::Type::File::ProviderPosix: feature posix is missing debug: Failed to load libra

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-23 Thread Josh Cooper
Hi Matt, On Wed, May 23, 2012 at 1:46 PM, Matt F wrote: > I deleted & regenerated the cert. Now I'm getting the errors below. I have > never switched puppetmaster servers, but I do have another puppetmaster > server that has the dns alias 'puppet'. However, the client should not be > accessing th

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-23 Thread Matt F
I deleted & regenerated the cert. Now I'm getting the errors below. I have never switched puppetmaster servers, but I do have another puppetmaster server that has the dns alias 'puppet'. However, the client should not be accessing that server. Running Puppet agent on demand ... info: Retrieving

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-23 Thread Jeff McCune
On Wed, May 23, 2012 at 12:30 PM, Matt F wrote: > Yeah, looks like the puppetmasterd stopped at some point. There is no > firewall. Here's the new client outout. Per the errors below, I just > verified that the times are in sync between the client and the server. I'm not exactly sure what the r

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-23 Thread Matt F
Yeah, looks like the puppetmasterd stopped at some point. There is no firewall. Here's the new client outout. Per the errors below, I just verified that the times are in sync between the client and the server. C:\Windows\system32>puppet agent --test --trace --debug debug: Failed to load library

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-23 Thread Jeff McCune
On Wed, May 23, 2012 at 11:04 AM, Matt F wrote: > Thanks Jeff. Sorry, my security people block github... > > C:\Windows\system32>puppet agent --configprint server > myserver01.example.com Good, this matches up with the certname configured on the puppet master. > err: /File[C:/ProgramData/Pupp

Re: [Puppet Users] Re: could not retrieve information from environment

2012-05-23 Thread Jeff McCune
On Wed, May 23, 2012 at 9:56 AM, Matt F wrote: > Sure: > > puppet master --configprint certname > myserver01.example.com > > > C:\Windows\system32>puppet agent --trace > How about puppet agent --configprint server ? And sorry for being unclear, could you instead please try puppet agent --test