Re: [Puppet Users] theforeman\foreman module?

2017-04-27 Thread Dominic Cleal
rvice hadn't been restarted. Restart apache2/httpd. If this is an error in the e-mail, then going back to the original error, you have a permissions issue. Ensure the files and parent directories are all readable by 'foreman'. -- Dominic Cleal domi...@cleal.org -- You received this message beca

Re: [Puppet Users] theforeman\foreman module?

2017-04-26 Thread Dominic Cleal
nce, perhaps compare against your existing Foreman server, then set these parameters to the same values. -- Dominic Cleal domi...@cleal.org -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and st

Re: [Puppet Users] puppetlabs-concat module depends on puppetlabs/stdlib 4.2.0 but only 4.1.5 is available at puppetlabs

2017-02-21 Thread Dominic Cleal
e dependency spec. I'd suggest checking any other modules very carefully, and/or try installing into a minimal environment with the --environment or -i arguments. -- Dominic Cleal domi...@cleal.org -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

Re: [Puppet Users] puppetlabs-concat module depends on puppetlabs/stdlib 4.2.0 but only 4.1.5 is available at puppetlabs

2017-02-21 Thread Dominic Cleal
et.com/puppetlabs/concat/dependencies > > https://forge.puppet.com/puppetlabs/stdlib The latest version of stdlib is 4.15.0, not 4.1.5 (point fifteen, not one). Version 4.15.0 is higher than the requirement for version 4.2.0. -- Dominic Cleal domi...@cleal.org -- You received this mess

Re: [Puppet Users] Newbie Question About Puppet

2017-02-17 Thread Dominic Cleal
etserver/latest/release_notes.html for the latest release notes. Install puppet-agent 1.9.1 and puppet-server 2.7.2 (at the time of writing) and you'll have the latest Puppet 4.9. -- Dominic Cleal domi...@cleal.org -- You received this message because you are subscribed to the Google Groups "

Re: [Puppet Users] Augeas and custom lenses?

2017-02-15 Thread Dominic Cleal
, are global. Custom facts from Puppet are read only when the additional agent directory is included (i.e. with Facter's -p flag). Lenses work in a very similar way - they are not installed globally. -- Dominic Cleal domi...@cleal.org -- You received this message because you are subscribed to th

[Puppet Users] PuppetModule.info: documentation for Forge modules (Puppet Strings)

2017-02-01 Thread Dominic Cleal
it useful. -- Dominic Cleal domi...@cleal.org -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this

Re: [Puppet Users] Re: rspec-puppet: how to pass undef as parameter value?

2014-07-07 Thread Dominic Cleal
created a small class that returns an unquoted value. in spec_helper.rb: class Undef def inspect 'undef' end end and then to use it: let(:params) do { :example = Undef.new } end -- Dominic Cleal Red Hat Engineering On 27/04/14 15:38, Remi Ferrand wrote: Hi everyone, thanks all

Re: [Puppet Users] augeas error with erwbgy/system module

2014-07-02 Thread Dominic Cleal
://github.com/hercules-team/augeas/issues and include a copy of ntp.conf so we can see the issue. Cheers, -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from

Re: [Puppet Users] Puppet 3.6.1 Virtual Packages, and unrelated facts questions...

2014-05-23 Thread Dominic Cleal
when in the vast majority of cases users need to take no action. -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users

Re: [Puppet Users] Only some Puppet Modules show up in Foreman

2014-04-28 Thread Dominic Cleal
the module's using a feature that will only parse in a newer version. -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users

Re: [Puppet Users] Augeas with puppet 3.4.2

2014-02-17 Thread Dominic Cleal
/group/error/line = 51 Look to see what's there and maybe you can edit the file to workaround the problem. If the file is still valid, then please file a bug either with your distribution or upstream (https://github.com/hercules-team/augeas/issues). -- Dominic Cleal Red Hat Engineering On 13/02

Re: [Puppet Users] augeas onlyif problem

2013-11-11 Thread Dominic Cleal
On 11/11/13 15:18, Jist Anidiot wrote: On Friday, November 8, 2013 12:23:11 PM UTC-5, Dominic Cleal wrote: On 06/11/13 21:17, Jist Anidiot wrote: I'm trying to make sure a specific user has a special ssh key used as his identity file. so I'm trying something

Re: [Puppet Users] augeas onlyif problem

2013-11-08 Thread Dominic Cleal
. I'm wondering what I might be doing wrong. Try: onlyif = match /files/home/user/.ssh/config/IdentityFile[.='~/.ssh/user2nd_rsa'] size == 0 -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

Re: [Puppet Users] augeas umask and /etc/sysconfig/init

2013-10-29 Thread Dominic Cleal
/newticket In the meantime, perhaps use file_line or similar tools. -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet

Re: [Puppet Users] augeas umask and /etc/sysconfig/init

2013-06-25 Thread Dominic Cleal
question. What did you expect or want it to do? -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr

Re: [Puppet Users] augeas

2013-06-19 Thread Dominic Cleal
Do you guys have any idea on how to solve this problem ? You said you had an error while compiling, what was the error? At a guess you'll need to ensure you have at least gcc and augeas-devel available. -- Dominic Cleal Red Hat Engineering -- You received this message because you

Re: [Puppet Users] augeas

2013-06-19 Thread Dominic Cleal
/ruby-augeas-0.3.0.gem Else you could try Raphael's Ubuntu packages, maybe the 12.04 ones are a close match for Debian: https://launchpad.net/~raphink/+archive/augeas/ -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] Puppet 3.2 : ENC overrides environment in puppet.conf / howto force environment

2013-06-12 Thread Dominic Cleal
. Lastly, you can disable the ENC script if you don't use it for classes or parameters and instead add /etc/puppet/node.rb --push-facts to a cronjob, which will just upload facts for all hosts to Foreman instead. -- Dominic Cleal Red Hat Engineering -- You received this message because you

Re: [Puppet Users] testing custom types?

2013-04-17 Thread Dominic Cleal
they're not great examples. I'd recommend working from the huge number of examples in the Puppet source tree itself: https://github.com/puppetlabs/puppet/tree/master/spec/unit/type https://github.com/puppetlabs/puppet/tree/master/spec/unit/provider Hope that helps. -- Dominic Cleal Red Hat

Re: [Puppet Users] Augeas lens dependency on valid config file parsing

2013-03-28 Thread Dominic Cleal
On 22/03/13 23:22, Gonzalo Servat wrote: On Sat, Mar 23, 2013 at 9:47 AM, Gonzalo Servat gser...@gmail.com mailto:gser...@gmail.com wrote: On Fri, Mar 22, 2013 at 9:11 PM, Dominic Cleal dcl...@redhat.com mailto:dcl...@redhat.com wrote: Perhaps ideally, lenses could

Re: [Puppet Users] Augeas lens dependency on valid config file parsing

2013-03-22 Thread Dominic Cleal
, -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email

Re: [Puppet Users] Puppet with Passenger - 403 Forbidden

2013-03-12 Thread Dominic Cleal
verification. It could be that the client cert isn't getting verified by mod_ssl and so the puppetmaster can't use the client's identity to permit access to URLs. -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group

Re: [Puppet Users] Help with augeas

2013-02-27 Thread Dominic Cleal
session.securityLevel.listFiles=10 low.session.timeout=15 # eof I want to change createSession from 10 to 11. my puppet code is: augeas { test: lens= Property.lns, This line doesn't look correct, it should be Properties.lns to match the module you downloaded. -- Dominic Cleal Red Hat Engineering

Re: [Puppet Users] puppet master processing agent report time is very long, how to optimization

2013-02-08 Thread Dominic Cleal
/config/database.yaml). If you're running the database and Foreman on the same system, check it's powerful enough (not one vCPU and a small amount of RAM), check what storage it's on etc. -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Puppet broken in upgrade from 3.0.1 to 3.1.0

2013-02-07 Thread Dominic Cleal
] Anybody have some help for me? Do check syslog, as the puppet master usually logs initialisation problems there (e.g. permissions). -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

Re: [Puppet Users] puppet master processing agent report time is very long, how to optimization

2013-02-07 Thread Dominic Cleal
. If you're using another report processor (e.g. Foreman), then you need to optimise that. -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [Puppet Users] Puppet broken in upgrade from 3.0.1 to 3.1.0

2013-02-07 Thread Dominic Cleal
for the master process itself (inbound connections). -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr

Re: [Puppet Users] Augeas and defvar -- regexp

2013-02-05 Thread Dominic Cleal
itself rather than letting Augeas do it. -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com

Re: [Puppet Users] Re: Announce: Puppet 3.1.0-rc2 Available!

2013-01-30 Thread Dominic Cleal
/yum.repos.d/puppetlabs.repo or use --enablerepo=puppetlabs-devel with yum. -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet

Re: [Puppet Users] [puppetdb] option '--configdir' not recognised

2013-01-30 Thread Dominic Cleal
status subcommand out of this, plus the config setting is --confdir or --config. Try this instead: puppet node status --confdir=/etc/puppet/conf --terminus puppetdb servername.fqdn See http://docs.puppetlabs.com/references/stable/configuration.html#confdir for the settings. -- Dominic Cleal Red

Re: [Puppet Users] Augeas file line edit please help

2013-01-24 Thread Dominic Cleal
loaded. Otherwise check in augtool with print to see if the file can be loaded. Maybe use stdlib's file_line type? -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users

Re: [Puppet Users] How do I add multiple new services to /etc/services using augeas/augtool?

2013-01-21 Thread Dominic Cleal
/service-name[. = 'DB2_db2inst1_2']/port 60002 set /files/etc/services/service-name[. = 'DB2_db2inst1_2']/protocol tcp -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet

Re: [Puppet Users] Templating a shell script - major error

2013-01-17 Thread Dominic Cleal
(...). Puppet is trying to parse the shell script as a source URL. -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] puppet-module error with 3.0.2

2013-01-17 Thread Dominic Cleal
:in `require' from /usr/lib/ruby/gems/1.8/gems/puppet-module-0.3.4/bin/puppet-module:5 You don't want to use the puppet-module gem, you want to use the puppet module command built into Puppet. The gem's not maintained and was rolled into Puppet in 2.7.14. -- Dominic Cleal Red Hat Engineering -- You

Re: [Puppet Users] How manage xml elements as resources?

2013-01-08 Thread Dominic Cleal
/jbossas.xml, changes = [ set host/server[#attribute/name='one'] '', set host/server[#attribute/name='one']/datasource #empty, set host/server[#attribute/name='one']/datasource/#attribute[name='example']/name example, ], } Cheers, -- Dominic Cleal Red Hat Engineering -- You received

Re: [Puppet Users] augtool/augeas doesn't work in f17?

2012-12-10 Thread Dominic Cleal
now if you're able to use Puppet 3. I've added debug if there are parsing errors (which will print output equivalent to Raphaël's augtool suggestion) and warnings if you're using context/incl parameters and it finds an error on a file you're trying to modify. -- Dominic Cleal Red Hat Engineering

Re: [Puppet Users] augtool/augeas doesn't work in f17?

2012-12-10 Thread Dominic Cleal
On 10/12/12 18:59, Bret Wortman wrote: On Monday, December 10, 2012 1:51:46 PM UTC-5, Bret Wortman wrote: On Monday, December 10, 2012 8:34:17 AM UTC-5, Dominic Cleal wrote: On 07/12/12 11:56, Bret Wortman wrote: Even in interactive mode, I get nothing out of augtool

Re: [Puppet Users] Augeas and custom lenses?

2012-11-07 Thread Dominic Cleal
as facts etc. This should take precedence over dist lenses too. Store the lens at: modulename/lib/augeas/lenses/custom.aug (http://docs.puppetlabs.com/guides/plugins_in_modules.html) -- Dominic Cleal Red Hat Engineering -- You received this message because you are subscribed to the Google

Re: [Puppet Users] augeas only add if doesn't exist

2012-10-16 Thread Dominic Cleal
On 15/10/12 16:52, Eugene Vilensky wrote: On Oct 14, 2012, at 12:40 PM, Dominic Cleal dcl...@redhat.com mailto:dcl...@redhat.com wrote: You're missing quotes around nrpe, the command should be: set /files/etc/hosts.allow/*[process='nrpe']/client[last()+1] 1.1.1.1 rodjek's example has

Re: [Puppet Users] augeas only add if doesn't exist

2012-10-16 Thread Dominic Cleal
On 16/10/12 11:42, Dominic Cleal wrote: On 15/10/12 16:52, Eugene Vilensky wrote: On Oct 14, 2012, at 12:40 PM, Dominic Cleal dcl...@redhat.com mailto:dcl...@redhat.com wrote: You're missing quotes around nrpe, the command should be: set /files/etc/hosts.allow/*[process='nrpe']/client[last

Re: [Puppet Users] augeas only add if doesn't exist

2012-10-14 Thread Dominic Cleal
like this. The Puppet provider parses the commands but feeds them into the same API as augtool itself uses. Were you having problems just with augtool, or from Puppet too? Cheers, -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed

Re: [Puppet Users] Puppet 3.0.0 and Augeas on Ubuntu Lucid 10.04

2012-10-03 Thread Dominic Cleal
depends or recommends on 0.3.0 as a minimum version, but this hasn't been completed yet. -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users

Re: [Puppet Users] Puppet for deploying Jboss application

2012-08-14 Thread Dominic Cleal
: augeas { myapp.properties: lens= Properties.lns, incl= /path/to/myapp.properties, changes = [ set ApplicationName ${appname}, set ApplicationVersion ${appversion}, ], } (Where $appname and $appversion are Puppet variables, facts or a proper data source.) Cheers, -- Dominic

Re: [Puppet Users] Re: Long processing time using Augeas

2012-08-01 Thread Dominic Cleal
of the box in the near future. -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] Purge-like ability for the augeas type?

2012-07-25 Thread Dominic Cleal
could mark your Puppet-managed resources with a comment (a #comment subnode usually) and then delete anything that doesn't match it. -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group

Re: [Puppet Users] Augeas fails to set BONDING_OPTS with return code false

2012-06-28 Thread Dominic Cleal
you're quoting the entire string in the Puppet DSL, so need to escape the inner quotes. augtool set /files/etc/sysconfig/network-scripts/ifcfg-bond0/BONDING_OPTS 'mode=0 miimon=100' augtool save Saved 1 file(s) Cheers, -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received

Re: [Puppet Users] Augeas resources not being saved

2012-06-20 Thread Dominic Cleal
/ and the context will be applied. -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email

Re: [Puppet Users] Augeas resources not being saved

2012-06-16 Thread Dominic Cleal
resource when debug was enabled? -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] Compiling augeas on AIX?

2012-05-24 Thread Dominic Cleal
need that (which could affect building ruby-augeas). -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe

Re: [Puppet Users] Re: support on rhel / epel

2012-05-17 Thread Dominic Cleal
delimit the different support given to those packages compared to the base channel. There are other packages from optional that you'll find yourself needing, e.g. libselinux-ruby, so I don't think ignoring it is that easy. Cheers, -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You

Re: [Puppet Users] Re: support on rhel / epel

2012-05-17 Thread Dominic Cleal
with yum localinstall, which will pull in that dependency from optional. http://koji.fedoraproject.org/koji/buildinfo?buildID=228762 Cheers, -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group

Re: [Puppet Users] logrotate and augeas

2012-05-08 Thread Dominic Cleal
/logrotate.d/syslog/rule/file[. =~ regexp(/var/log/mail.*)] /files/etc/logrotate.d/syslog/rule/file[3] = /var/log/maillog The regexps are anchored by default, so you need the .* to match anything after mail. -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message

Re: [Puppet Users] Puppet class not working after use augeas-0.10.0-3

2012-05-04 Thread Dominic Cleal
in 2.6, though if you're using EPEL then there's a patch in that 2.6 RPM. -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com

Re: [Puppet Users] Puppet class not working after use augeas-0.10.0-3

2012-05-01 Thread Dominic Cleal
two nodes instead of just the one, e.g. /files/etc/modprobe.conf/install = foo /files/etc/modprobe.conf/install/command = /bin/true I've also changed the install[0] so it doesn't always overwrite the first install line and instead creates an install line per module. Cheers, -- Dominic Cleal Red

Re: [Puppet Users] augeas-0.10.0_1 in FreeBSD can't see /etc/rc.conf

2012-05-01 Thread Dominic Cleal
print /files/etc/rc.conf augtool Could you try running this in augtool to see if a lens is being used, and if there are errors? print /augeas/files/etc/rc.conf/ -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Re: augeas-0.10.0_1 in FreeBSD can't see /etc/rc.conf

2012-05-01 Thread Dominic Cleal
0.8.1/0.9.0 both behaved. -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email

Re: [Puppet Users] escaping the @ symbol

2012-04-02 Thread Dominic Cleal
need Augeas 0.7.2, ruby-augeas 0.4.0 and Puppet 2.7.0. There's a good description here of how to use it, which you can wrap into a define again: http://planet.ergo-project.org/blog/jmeeuwen/2011/02/13/using-noop-io-scheduler-kvm-virtualization-through-puppet-and-augeas Hope that helps. -- Dominic

Re: [Puppet Users] Augeas question ab

2012-02-17 Thread Dominic Cleal
look at the code, then it's simply not designed to work with integer values in settings. You'd need to file an RFE against Puppet for this, as the conditionals are implemented in the provider (not part of Augeas at all). -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received

Re: [Puppet Users] Augeas fstab question

2012-02-10 Thread Dominic Cleal
is best done with custom facts or only applying the class to nodes that are supposed to have /var, rather than complex onlyif workarounds on resources. Hope that helps, -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Augeas lens for zabbix agent config files?

2012-01-23 Thread Dominic Cleal
list, we'd love to include it. Hope that helps. -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from

Re: [Puppet Users] Re: augeas error: Could not evaluate: unknown error - Failed to initialize Augeas

2012-01-19 Thread Dominic Cleal
in the augeas-libs package: $ rpm -ql augeas-libs | grep -c \.aug\$ 219 The lenses should generally match the Augeas library version so check they're in sync if supplied by another package. -- Dominic Cleal Red Hat Consulting m: +44 (0)7817 878113 -- You received this message because you

Re: [Puppet Users] puppet terminating - continually forcing itself to stop

2011-07-11 Thread Dominic Cleal
). -- Dominic Cleal Red Hat Consulting m: +44 (0)7818 512168 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr

Re: [Puppet Users] file backup with augeas

2011-06-26 Thread Dominic Cleal
(${FILE}.bak) isn't exposed in the Puppet type. I don't think it should be, so have put in the request for proper integration to the filebucket feature like the file type: http://projects.puppetlabs.com/issues/8105 -- Dominic Cleal Red Hat Consulting m: +44 (0)7818 512168 -- You received

Re: [Puppet Users] Puppet Augeas

2011-06-06 Thread Dominic Cleal
suggest using XPath type expressions rather than hard-coding the numbers 16 and 17). -- Dominic Cleal Red Hat Consulting m: +44 (0)7818 512168 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users

Re: [Puppet Users] Re: Resources existing in different operating systems.

2011-06-03 Thread Dominic Cleal
. -- Dominic Cleal Red Hat Consulting m: +44 (0)7818 512168 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr

[Puppet Users] Re: [Puppet-dev] Package type: enable/disable repo vs options (#2247 vs #4113)

2011-06-02 Thread Dominic Cleal
to design it so that it's generic enough, rather than using attributes named enablerepo and disablerepo (which I dislike, because they're so very yum-specific). I have a more detailed suggestion I can outline in another post.. [1] http://projects.puppetlabs.com/issues/2247#note-36 -- Dominic Cleal

Re: [Puppet Users] augeas slooow

2011-05-06 Thread Dominic Cleal
just specify the file. -- Dominic Cleal Red Hat Consulting m: +44 (0)7818 512168 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email

Re: [Puppet Users] Easy setting vars in /etc/sysconfig

2011-04-14 Thread Dominic Cleal
an interface similar to the one you want. -- Dominic Cleal Red Hat Consulting m: +44 (0)7818 512168 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] Re: augtool/augeas -- clearly missing something...

2011-04-13 Thread Dominic Cleal
you a hand with expressions if you get stuck. -- Dominic Cleal Red Hat Consulting m: +44 (0)7818 512168 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from

Re: [Puppet Users] augeas, rhel6, setm

2011-04-13 Thread Dominic Cleal
', unless = grubby --info DEFAULT | grep args= | grep '$arg=$value', } } boot_kernel_arg { kernel-console: arg = console, value = ttyS0, } You might be able to do something involving ALL instead of DEFAULT too (check the man page). -- Dominic Cleal Red Hat Consulting m

Re: [Puppet Users] Re: augtool/augeas -- clearly missing something...

2011-04-13 Thread Dominic Cleal
On 13/04/11 12:38, Dominic Cleal wrote: What you might find useful is a new book that Raphaël Pinson's been working on, which starts explaining it from the beginning - it's still work in progress though. https://github.com/raphink/Augeas-book/ (you'll need to clone and 'make

Re: [Puppet Users] State of the pkgutil provider?

2011-03-18 Thread Dominic Cleal
On 17/03/11 16:07, Mark Phillips wrote: On 17 Mar 2011, at 05:42, James Turnbull wrote: Dominic Cleal wrote: Nobody has been looking at it, it would be great if you and Mark want to and I'd be happy to help. I haven't even seen any examples of pkgutil catalogs with multiple versions, so

Re: [Puppet Users] State of the pkgutil provider?

2011-03-15 Thread Dominic Cleal
too. (Unit tests!) I think it's best to first collect some evidence about the output format of pkgutil with multiple versions and what's possible compared to say yum, then work out how to integrate that into the provider. -- Dominic Cleal Red Hat Consulting m: +44 (0)7818 512168 -- You

Re: [Puppet Users] Re: pkgutil package provider (solaris)

2010-11-29 Thread Dominic Cleal
James, Maciej, Rudy and me to begin the process of getting the provider included. Regards, -- Dominic Cleal Red Hat Consulting m: +44 (0)7818 512168 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us