Re: [Puppet Users] Recent 5.5.x point releases are throwing some warnings for me

2019-06-14 Thread Ben Ford
Yes. A class without a namespace must be named the same as the module containing it, *and be in the init.pp file*. In other words, your /opt/puppetlabs/puppet/modules/adhoc/manifests/*adhoc* .pp file should be /opt/puppetlabs/puppet/modules/adhoc/manifests/*init*.pp. See

[Puppet Users] Apache mod expires expires_by_type syntax example

2019-06-14 Thread Nat Juchems
Hey all - I was getting pretty frustrated with this due to my own lack of understanding. The best resource I could find on this was: https://www.rubydoc.info/github/puppetlabs/puppetlabs-apache Under the *apache::mod::expires* heading it says this: expires_by_type: Describes a set of MIME

[Puppet Users] Bolt 1.23.0 now available

2019-06-14 Thread Puppet Product Updates
Greetings! We're happy to announce the release of Bolt 1.23.0. Highlights in this release include: - `catch_errors` function - Forge `baseurl` setting in the `puppetfile` config - Bug fixes For more information, check out the release notes:

Re: [Puppet Users] Recent 5.5.x point releases are throwing some warnings for me

2019-06-14 Thread lhu
Hi John, Would you have any idea why this would fail file #puppet parser validate adhoc.pp Warning: Unacceptable location. The name 'adhoc' is unacceptable in file '/opt/puppetlabs/puppet/modules/adhoc/manifests/adhoc.pp' (file: /opt/puppetlabs/puppet/modules/adhoc/manifests/adhoc.pp, line: 1,

Re: [Puppet Users] switching from source => "puppet:/// to source => "file:///

2019-06-14 Thread Locke Hajo
Hello, > `file:///` sources are local to the *agent*, not the *puppetserver* > ahh, thanks, that was the missing info. did not found this in docs. Thanks, Hajo -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

Re: [Puppet Users] switching from source => "puppet:/// to source => "file:///

2019-06-14 Thread David Schmitt
On Fri, 14 Jun 2019 at 08:45, Locke Hajo wrote: > Hello, > > I suspect that you're misunderstanding something about how Puppet works, >> because as far as I can tell, you're trying to copy >> /etc/apache2/conf.d/testpuppet.conf to /etc/apache2/conf.d/testpuppet.conf. >> (The same path) >> >> yes

Re: [Puppet Users] switching from source => "puppet:/// to source => "file:///

2019-06-14 Thread Locke Hajo
Hello, I suspect that you're misunderstanding something about how Puppet works, > because as far as I can tell, you're trying to copy > /etc/apache2/conf.d/testpuppet.conf to /etc/apache2/conf.d/testpuppet.conf. > (The same path) > > yes i want to mirror a file from the master to my client.