This is great!
I was looking forward to something that would be more useable than the
puppet-lint plugins to migrate my Puppet code, and this is just so simple
and efficient! Thank you!
On Wednesday, April 1, 2015 at 10:00:56 AM UTC+2, Corey Osman wrote:
>
> On the heels of the previously anno
Actually, the native mount type can also be used with an augeas-based provider
if you use the herculesteam/augeasproviders_mounttab module.
This brings the simplicity of a native module with the power and safety of
Augeas under the hood.
As for the original code by OP, there are Augeas errors i
Also, if the future parser is not an option for you, the hiera_undef module
provides hiera functions that return undef when no value is found in hiera:
https://forge.puppetlabs.com/camptocamp/hiera_undef
We used this write heavily to wrap puppet classes and emulate data bindings
when migrating
Hello,
It seems that you're trying to use Puppet for actions (upgrading packages
not managed by Puppet) instead of state. This is not what Puppet is for.
You might want to setup unattended-upgrades with the proper Allowed-Origins
and let the system upgrade the packages for you.
Cheers,
Raph
Native facts (written in Ruby using the Facter module) go into lib/facter/,
while custom facts (either static text files or scripts in the language of
your choice) go into facts.d/.
Facts are computed before each Puppet run. If Puppet installs a package and
your fact returns the version of that
For the record, I've decided to port the code to ruby_gpg when running
inside the Puppetserver.
The PR is at https://github.com/sihil/hiera-eyaml-gpg/pull/24
On Thursday, February 12, 2015 at 3:22:48 PM UTC+1, Raphink wrote:
>
>
> https://github.com/puppetlabs/puppet-serv
https://github.com/puppetlabs/puppet-server/blob/master/documentation/gems.markdown#gems-with-native-c-extensions
apparently answers my question, so I'm looking to port hiera-eyaml-gpg to a
pure ruby module now.
On Thursday, February 12, 2015 at 12:17:41 PM UTC+1, Raphink wrote:
>
If more than one parameter make sense for a namevar, then you can use
composite namevars, by using `isnamevar` for sevaral parameters and adding
a `self.title_patterns` method to define how to parse the title and feed
the namevar parameters.
See
https://github.com/hercules-team/augeasproviders
Hello,
I'm trying to use hiera-eyaml-gpg with the puppetserver.
I've tried installing it with:
sudo -u puppet puppetserver gem install hiera-eyaml-gpg
where puppet is the user running the puppetserver.
However, it fails to compile the native gpgme gem:
Building native extensions. This co
To anyone interested, this thread has been duplicated (and answered) on
https://www.redhat.com/archives/augeas-devel/2013-May/msg00028.html
Raphaël
On Wednesday, May 29, 2013 4:35:30 PM UTC+2, kashif wrote:
>
>
> Hi
>
> I am trying to configure hosts.allow using augeas with puppet. I can add a
Hi,
Depending on the config format, you can use Augeas for that. What is the
format you need to edit?
Regards,
Raphaël
On Tuesday, April 30, 2013 11:25:21 AM UTC+2, Stan wrote:
>
> Hi
>
> What is a solution with puppet to replace one word in a config file?
>
> for example i would like replac
Hello,
On Monday, April 29, 2013 2:52:42 PM UTC+2, Stan wrote:
>
> Hello
>
> I use augeas to replace a value in a config file:
>
> example (this example is good) :
>
> /etc/ssh/sshd_config file
>
> LogLevel INFO
>
>
> class ssh::redhat {
> augeas { "sshd_config":
> context => "/files/etc/ssh/s
On Friday, December 7, 2012 12:56:27 PM UTC+1, Bret Wortman wrote:
>
> I've installed the augeas rpm (0.10.0-3.fc17.x86_64) to troubleshoot a
> problem I was having with augeas and ensuring a line existed in
> /etc/cron.allow. I think something's up because neither the augeas within
> my manif
Adding to Paul's answer, if you want to set more than one port here, you'll
probably want to make a define for a port and loop on resources.
The define can then use augeas to set the port.
On Monday, May 28, 2012 5:47:52 PM UTC+2, Steve Foster wrote:
>
> Hi Folks,
>
> I'm trying to figure our w
Hi Graham,
On Nov 28, 9:17 am, Graham Leggett wrote:
> On 27 Nov 2011, at 20:04, Graham Leggett wrote:
>
> > I have a task to convince puppet and augeas to modify multiple postfix
> > files, most specifically /etc/postfix/main.cf and /etc/postifx/
> > acceptdomains.cf (and other LDAP related file
15 matches
Mail list logo