here are better solutions to handle it without puppetdb, I'm not sure.
Regards,
Björn
Am Dienstag, 26. Januar 2016 16:48:52 UTC+1 schrieb thbe:
>
> Hi Björn,
>
> depends on how you would like to implement the fully automatic
> configuration. I do this on the server side be
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:507:in `plugin_hook'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:496:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:381:in `run'
/usr/lib/ruby/site_rub
Hello,
I try to start with puppet under AIX and it themes that the facts are
loading twice.
puppet agent -t
info: Retrieving plugin
info: Loading facts in concat_basedir
info: Loading facts in environment
info: Loading facts in es_facts
warning: Could not load fact file /opt/puppet/var/lib/fac
So I have to check every file in every module for variables and transform
them to an array? :(
Am Donnerstag, 30. Juli 2015 23:28:49 UTC+2 schrieb Stephan:
>
> IIRC I fixed this by consequently making all variables involved
> arrays, even if they just had one member.
>
> On 30
tEnvIF X-Forwarded-For
^(#{ip_xforward}) AllowIP" -%>
<% end -%>
<% end -%>
So a array of ip address in the manifests results in
SetEnvIf X-Forwarded-For ^(13\.74\.8\.23.*) AllowIP
SetEnvIf X-Forwarded-
Am Freitag, 22. Mai 2015 11:09:15 UTC+2 schrieb Gabriel Filion:
>
> On 20/05/15 09:04 AM, Björn wrote:
> > I tried it with regsubst, but without success:
> > |
> > <%ip_xforward.each do|name|-%><%="\t\tSetEnvIF X-Forwarded-For
> > ^(regs
Hello,
is there any possibility to realize that?
##
#
# Managed by Puppet
#
Hello,
I try to customize my http vhost template and defined and array of ip
addresses in the manifests:
class apache::webservice(
$htdocs = $apache::param::htdocs,
$apacheuser = $apache::param::apacheuser,
$apachegroup = $apache::param::apachegroup,
$logdir = $apache::param::logdir,
) i
>
> or more like your original design, but limited: turn "define download"
> into a class that installs only a single version (maybe a separate class
> per major version, and just pull in the latest minor of that major release)
> and use the include in your defines to avoid du
=> root,
mode=> 0755,
}
service{"$tc_name":
ensure => running,
enable => true,
hasrestart => true,
require=> [ File["$tc_path"], File["setenv.sh $tc_name"],
File["manager web.xml
Ohhh, you made my day. That shows the problem.
We need /bin in PATH for uname.
Thanks a lot!
Björn
Am Mittwoch, 15. Januar 2014 14:39:54 UTC+1 schrieb Ken Barber:
>
> > This is my exec:
> >
> > exec {'make nodejs':
> > command => "/usr/b
ode",
cwd => "/usr/local/src/node",
path=> ["/usr/bin", "/usr/sbin"],
require => Exec['configure nodejs'],
}
Do you got any idea?
Thanks!
Björn
--
You received this message because you are subscribed to the Google Groups
Unless was also a good hint! But my sed solution was running every time
puppet agent run. So I use file_line now.
Thanks!
On Wednesday, October 2, 2013 1:15:53 PM UTC+2, Björn wrote:
>
> Hello,
>
> I try to ensure our password policies using /etc/login.defs and PAM
> crack
Hello Mike,
thanks a lot, file_line works great! I not remember why I don't use
file_line for such things.
Björn
On Thursday, October 3, 2013 2:35:46 AM UTC+2, Mike Delaney wrote:
>
> On Wed, Oct 2, 2013 at 4:15 AM, Björn
> > wrote:
>
>> exec{'ensure passw
Unfortunately, this exec run when the return code of onlyif is 0. I don't
know a command which return 0 when the line isn't available and return 1
when the line is available.
May be I'm thinking to complicated? Do you have another solution?
Thanks a lot!
Björn
--
You recei
> running,
hasrestart => true,
hasstatus => true,
status => '/etc/init.d/ossec | grep "ossec-agentd is
running"',
}
Thanks!
Björn
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" g
16 matches
Mail list logo