Displaying 20 results from an estimated 60000 matches similar to: "hasstatus return code"
2012 Jul 30
7
puppet enterprise
No problem installing open puppet and using it. patterns run aok.
when trying to use the installer for pe, on the puppetmaster, installs ok.
when trying to use the installer for pe, on the puppet agent, installs ok
but no cert sent as shown by puppet cert list on puppetmaster.
also
puppet agent --test
on puppet agent shows
err: could not retrieve catalog from remote server:
error 400 on
2011 Feb 09
2
Puppet broken - Could not retrieve catalog from remote server
Hello,
I was trying to change two modules on my puppet.
And I was block on one error, until I figured that the error which show up
was not related to a specific module.
This error is causing issue to all my puppet clients :
#puppetd -vt
info: Retrieving plugin
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
compile error
(erb):416: syntax error, unexpected kEND,
2012 Dec 05
10
Slight oversight in the type documentation
So I was looking at the type reference, and noticed that for a lot of the
types, no namevar was listed. When I checked the types in the code, for
each of those omissions, the namevar was simply "name". Now, it might be
self evident that this is the case, but a little documentation couldn''t
hurt, If not in each type, at least in the section where it describes what
namevars
2012 Feb 03
16
neatest way to determine a major version of centos/linux?
Just started a rollout of centos 6.x across our Puppet deployment
(100-odd servers).
what fact would people suggest I use to distinguish 5.x from 6.x
(quite a lot of subsystems are different between major releases)?
lsb* facts don''t seem to be present on centos 6 - is this an EPEL bug,
or have they
just been removed in Facter?
Thanks!
--
You received this message because you are
2010 Jun 09
6
Input sought on changing default vardir on OS X.
0.25.5 changed the default vardir from /var/puppet to /var/lib/puppet
and it''s caused the odd issue we have to fix in the Mac pkg
preflights.
After re-reading ''man hier'' I''m tempted to change the default on OS X to:
/var/db/puppet
instead.
/var/ multi-purpose log, temporary, transient, and spool files
...
2010 Jun 24
8
Passenger barfs.
I have a freshly installed and updated CentOS 5.4 system running
puppet 0.25.5. I followed the passenger docs here:
http://projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger
Upon starting the client, the following appears in the apache error log.
[Thu Jun 24 10:48:40 2010] [error] [client 10.10.4.45] Premature end
of script headers: production
[ pid=6785 file=ext/apache2/Hooks.cpp:706
2012 Feb 22
4
Custom function issue
Hi,
I needed a function to check if a file is existing on the Debian box I
am configuring. So I used this one
module Puppet::Parser::Functions
newfunction(:file_exists, :type => :rvalue) do |args|
if File.exists?(args[0])
return 1
else
return 0
end
end
end
It work greats for some service where apache2 doesn''t work for me.
I am using it this way
2013 Jan 31
7
Calling a "subclass" correctly in a node def?
Hi Guys!
I played with this a bit and perused the Puppet3 docs, and tried a few
different ways of calling the module with no joy before giving in and
posting. I''m kind of new to all this so bear with me.
*Goal of module*
Singular module to hold both a mysql (client) and mysql-server class.
Module default would be ''mysql'', or for mysql-servers we''ll call
2012 Jun 04
15
mysql or postgresql
Hi!
Which database would you recommend to use mysql or postgresql for
puppet?
Estimated number of nodes 30000, they send reports every 30 minutes.
Thanks
--
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
2012 May 16
7
Puppet Node Create?
Was...
Bash$ puppet node create
This "create" action no longer exists. Has it been depreciated?
Is the only way to create a node through puppetmaser now?
Thanks, D
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/g3lJoO-j_u4J.
To post
2011 Sep 30
2
Building yaml files
Has anyone used facter to gather and build host specific yaml files before,
was wondering how others were gathering and building this info for their
host. Any suggestions are appreciated.
--
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,
2008 Dec 24
3
Conditionals allowed within types?
Hello,
I''m trying to do this:
service { monit:
ensure => running,
enable => true,
hasrestart => true,
if ($operatingsystem == ''centos'') {
hasstatus => true,
},
require => Package[''monit''],
subscribe => File[''monit.conf''],
}
And it doesn''t work in
2012 May 22
2
Announce: Hiera-Puppet 1.0.0rc1 Available
Hiera-Puppet 1.0.0rc1 is a feature release candidate designed to
accompany Puppet 3.0 and Hiera 1.0.
It includes Puppet functions for hiera and also the puppet backend for
hiera lookups.
Downloads are available:
* Source http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc1.tar.gz
* Apt and yum development repositories
* Apple package
2012 Feb 17
3
Managing /etc/yum.conf
Hi,
It''s easy enough to modify, say, the "exclude" variable in /etc/yum.conf
with something like:
augeas { yum_exclude_kernel:
context => ''/files/etc/yum.conf/main'',
changes => ''set exclude kernel*''
}
However, I''d like a more flexible system where I can "build" the list of
excludes from
2012 Feb 10
7
Hiera data unusable in a class with an array parameter
Given the following hiera hash:
common.yaml:
---
*allowed_ips:*
* "First IP": 1.2.3.4*
* "Second IP": 5.6.7.8*
and the module:
*class iptables ($role) {*
* file {/tmp/test:*
* content => template(iptables/test.erb)*
* }*
*}*
with the corresponding template test.erb:
*<% role.each do |role| -%>
*
* code*
*<% end %>*
*<%
2012 Dec 17
11
[Puppet Upgrade] Puppet agent does not work
I upgraded Puppet master from 2.7.6 to 2.7.20 on CentOS5.8_x86_64.
But when I tried to launch ''puppet agent -t'' on one of staging servers, the
puppet daemon did not work and got heaps errors.
I have no idea what made it wrong and how to fix it.
Retrieving plugin [0m
Failed to generate additional resources using ''eval_generate: Error 500 on
SERVER: <!DOCTYPE HTML
2012 May 04
16
forcing user resource provider to be local files only?
I see that there are an assorted bunch of "provider" types for resource
type user. Are there not any "local file" providers for it?
I have need of ensuring that certain local user accounts get created on all
machines, reguardless of what the system "/bin/password" and "useradd"
type mechanisms are set to.
It would be really nice to find a pre-written
2012 Mar 30
2
Does create_resources support virtual resources?
Hi all,
I''m interested pushing my user list out of my users manifest and into
Hiera. Unfortunately I haven''t been able to get it to work the way I
thought it would. The error suggests that perhaps create_resources
cannot create virtual resources, but the docs I''ve read so far don''t
address it.
The class (in init.pp):
class users {
$system_users =
2011 Aug 15
4
trying to resolve group dependency in creating users
Hi all,
Using Puppet 2.5, I have a class which creates users:
# cat modules/users/manifests/init.pp
class users {
user { ''ringo'':
ensure => present,
uid => ''1506'',
groups => [''admin''],
shell => ''/bin/bash'',
home => ''/home/ringo'',
managehome
2012 Dec 06
3
Proper way to call variables from a parent class to a child class
I currently have a child class of a parent one. The parent defines
some variable that I need to use in the child class. I am also using
gepetto. Gepetto is complaining about the syntax of the child variable.
It is saying that "$parentVar" should be "$::parentVar" however, when
changing to what Gepetto wants to use this breaks my classes. Does anyone
know the proper