Displaying 20 results from an estimated 10000 matches similar to: "accessing resource attributes"
2007 Sep 10
6
puppetshow setup.pp
Hi guys,
I''ve just checkout the puppetshow code, and I was looking for the
setup.ppfile, but I cant find it anywhere.... anyone has an idea where
should i look
for it?
(or what needs to be done?)
Thanks,
Ohad
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Aug 22
12
Virtual resource not found
Hi All,
I asked on IRC but didn''t have everything organized and most people
seemed busy. Hoping someone can see what I''m missing here.
I''m trying to create a network module, used similar to the ''users''
configuration described in the Best Practices document. I have a users
module which has that and it works with similar syntax to below. If I
2007 Mar 19
7
Monitoring puppet
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi *!
How do you monitor when the last puppet transaction was successful on a node?
I''m searching for something easy like a timestamp, so I can put a nagios watch
on this.
Regards, David
- --
- - hallo... wie gehts heute?
- - *hust* gut *rotz* *keuch*
- - gott sei dank kommunizieren wir über ein septisches medium ;)
-- Matthias Leeb,
2007 Jul 05
10
Wierd issue with node declaration
I have the following in my site.pp
node "pclient.example.com" inherits default {}
When I try to start puppetmaster it gives me the following error
Starting puppetmaster: Syntax error at ''pclient.example.com'' at /etc/puppet/manifests/site.pp:24
When I change the node declaration to this
node ''pclient.example.com'' inherits default {}
puppetmaster
2008 May 05
11
puppetmasterd --mkusers
I''m trying to run puppetmasterd the first time with --mkusers. It
fails with the following error message:
001 # /usr/bin/puppetmasterd --mkusers
Could not configure for running; got 1 failure(s)
Adding --verbose and --debug does nothing to improve the output. How
do I begin to debug this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2007 Jan 17
16
Cron jobs not removed when deleted from Manifest
I''m not sure if this has been posted previously, but I couldn''t find any information on it.
I added a cron job via the cron type and it installed properly. Next, I removed the cron type from the manifest.
The result was that, while the entry was no longer in the yaml file, the cron entry was not removed!
Is this a bug, or the way that it is supposed to function?
Thank you,
2006 Dec 13
3
Bug status for next release
Hi all,
I''ve now finished all of the functionality I plan to add in the next
release, so all that remains is closing as many open bugs as
possible. I''ve gone through and marked all of the bugs I
specifically plan on fixing with the ''minor'' milestone. If you have
a bug in the db[1] that you think needs to be fixed in the next
release but is not
2007 Dec 18
5
resource collection error
I''m seeing these in my logs on my puppetmaster:
puppetmasterd[4111]: Could not store configs: SQLite3::SQLException: SQL
logic error or missing database: DELETE FROM fact_values
WHERE "id" = 8
currently this is 0.24.0
relect from some previously collected resource that wasn''t cleaned up?
upgrade issue?
nothing to worry about?
that''s the only
2009 Jun 10
10
puppet client looking for server puppet
In my puppet client I have
puppet.conf defined puppet server as mypuppet
server = mypuppet.example.net
Not sure why the puppet client puppet-test is still sending these
noises to the syslog
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911 daemon.error]
Could not find server : getaddrinfo: node name or service name not
known
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911
2007 May 30
7
Ticket 616, service resource takes over puppetd port
Hello Luke,
After our services do now successfully restart, we hit now the already
opened bug where the restarted service takes over puppetd port if it''s
configured to listen.
One solution is to remove the listen option but it''s very nice to invoke a
puppetrun on the clients from the central server without waiting for its
next run.
Where you already able to take a look? It
2006 Nov 06
2
problem with remotefile definition
Hi,
I''m exploring Puppet and have hit a rather weird problem.
The puppetmaster server is running CentOS4, fully updated, with puppet
installed from the dlutter RPM repo, version 0.20.0-1.el4.
I tried adding the remotefile function definition from
http://reductivelabs.com/projects/puppet/documentation/installation.html
in /etc/puppet/manifests/utils/remotefile.pp but when I start
2007 Apr 10
12
Wtih version 0.22.1 using SQLite storage, only resource -> host foreign keys are present
Hi,
I am developing an end user WWW-based front end for Rails for my
system integrator and developer colleagues to use to easily view and
search our Puppet configs via a Rails app.
I set up the SQLite storage option on the server and the puppet tables
are being populated in /var/puppet/state/, but foreign keys for
everything except host_id in resources are not being set.
Is this expected
2007 Nov 21
9
purging exported resources
So I have the following:
define nagios::service (
$nagios_template = ''service-template'',
$host_name = $fqdn,
$service_groups = '''',
$contact_groups = $default_contact_group,
$max_check_attempts = 3,
$dependency = false,
$dependent_host = $fqdn,
$dependent_service = '''',
$check_command = ''''
) {
2007 Dec 27
2
Error when extending a resource parameter
Attached is a class for vmware guests that i am expanding however i am
getting an error when i try to extend the ''require'' parameter on an
''Exec'' to install the tools.
The error is
err: Could not retrieve configuration: Parameter ''require'' is
already set on Exec[setup_vmware_tools] by vmware::guest at
2007 Jan 22
3
Resource dependencies
For example, I have a bunch of package resources defined for packages
which are contained in the yum repositories defined by the yumrepo
resources. If the package is installed first, then it will fail
because the repository is not available. I know about "require". But
I would prefer not to add a direct dependency on the source
repository. Is there an easier way to do this? What
2007 Oct 10
17
Warning for Fedora Core users
Fedora Core 7 has just updated their Ruby package (was 1.8.6.36-3.fc7,
is now 1.8.6.110-3.fc7), and the upgrade broke my Puppet installation,
and there was a similar report from someone else.
Communications between the puppetmasterd and the puppetd running on
the same host broke down with the message:
Could not retrieve configuration: Certificates were not trusted: hostname
not match with
2007 Jun 15
8
ANNOUNCE: External node attributes
Hi all,
This just keeps coming up, again and again, so I decided to take a
few hours and break everyone''s configuration.
Oh, wait, just kidding. :)
Really, I''ve completely rewritten external node support. Here''s the
changelog entry:
Only ONE node source can be used -- you can use LDAP, code, or
an external node program, but not more than one.
2007 Nov 11
4
puppetrun fails: "Certificates were not trusted"
Hello all,
I''ve tried to run ''puppetrun'', but there seems something unconfigured regarding the certificates. The reverse way (puppetd pulls the config from puppetmasterd) works fine.
The namespaceauth.conf on the client (where puppetd runs) is configured as follows:
[puppetrunner]
allow *.abc.net
(also tried the calling host: puppet1.abc.net)
But when I call
2007 Feb 23
5
Accessing definitions in a subclass...
Hi all
Shouldn''t it be possible to access definitions from a super class in
a subclass? Eg.:
class foo {
define bar (bla) {
...
}
class oof inherits foo {
bar { "rab":
bla => "something",
}
}
spews out an error: "Could not find definition bar at...
--
Med venlig hilsen
Juri Rischel Jensen
Fab:IT ApS
Vesterbrogade 50
DK-1620 København
Tlf: 70 202
2007 Feb 06
14
Unless in exec doesn''t seem to be honored on notify.
This was a fun one to track down...
I was trying to use the append_if_no_such_line script from the wiki and it
was working fine EXCEPT when I threw a notify at it.
The notify appears to completely ignore both unless and onlyif within the
exec for some reason.
If I put the same test in the actual command line, it works fine.
Example:
unless => "/bin/grep -Fqe ''$line''