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 https://puppet.com/docs/p
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 con
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:
https://puppet.com/docs/bolt/latest/bolt_relea
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,
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 an
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
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. Fo