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
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
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.
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
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
"
, 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
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
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
://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
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
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
/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
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
. 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
/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
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
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
/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
.
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
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
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
,
--
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
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
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
/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
]
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
. 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
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
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
/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
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
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
/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
(...). 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
: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
/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
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
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
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
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
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
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
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
:
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
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
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
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
/ 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
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
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
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
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
/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
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
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
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
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
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
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
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
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
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
).
--
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
(${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
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
.
--
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
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
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
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
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
',
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
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
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
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
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
75 matches
Mail list logo