similar to: No subject

Displaying 20 results from an estimated 200000 matches similar to: "No subject"

2008 Jan 09
1
removing exported resources
Hello everybody. I have a question about removing exported resources. How is this done? Does it happen automagically? If I do: @@file{"/tmp/bla": content => "blahs content", ensure => present, } and thus export "/tmp/bla" to another host does it vanish by itself as soon as I remove the definition, or would I need to state something like:
2013 Sep 13
0
Refactoring my modules and moving from 2.7.x to 3.3 and have a few questions
Mostly surrounding if there are better(less hackish) ways of doing things. The first is the classic exported resource expiration problem. My existing modules use a wrapper that uses an inline template to call out to Ruby''s Time function, set a timestamp, and set the resource to absent after an expiration period, a cleanup script then runs on the database node and purges exported
2012 Sep 10
0
Announce: PuppetDB 0.11.0 Available
PuppetDB 0.11.0 is the fifth beta release on the road to 1.0. Changes include new features and bug fixes. For details on changes in this release, please see the release notes below. Please note that upgrading may take longer than in previous releases, due to new indices being added to the database. In our upgrades with large datasets (~2300 nodes, 900k resources) we didn''t see upgrade
2007 Dec 27
1
"fakeing" exported resources - is that possible
Hello! I''m trying to solve small problem - linux server AND windows clients AND managing this using puppet :) As far as I know puppet don''t work under windws, but I''m still using it on linux side. And I need some information from windows machines - ie.: info about what should I backup from each one. Of course one solution is to port puppet to windows - but for
2007 Aug 23
3
ssh host keys
I''m trying to get two hosts exchange their ssh host keys using virtual exported resources. What happens is that one host gets both keys installed without problems, while the other one fails with the following error message: err: Could not retrieve configuration: Exported resource Sshkey[front.irb.lo] cannot override local resource I found some reference to this in ticket #731, but
2012 Oct 10
0
Announce: PuppetDB 1.0.1 Available
PuppetDB 1.0.1 is now available for download! This is a bug-fix release of PuppetDB. # Downloads ============== Available in native package format at: http://yum.puppetlabs.com and http://apt.puppetlabs.com Puppet module: http://forge.puppetlabs.com/puppetlabs/puppetdb Source (same license as Puppet): http://github.com/puppetlabs/puppetdb/ Available for use with Puppet Enterprise 2.5.1 and
2009 Mar 11
2
trouble diagnosing exported resources
Hello, I want to use exported resources (namely sshkey) and with the following code, each node gets his own ssh key written into /etc/ssh/ssh_known_hosts, but not the others ones. This is with puppet 0.24.7 on redhat. node ''node1'' { @@sshkey { "node1": type => rsa, key => $sshrsakey } Sshkey <<| |>> } node ''node2'' {
2013 Dec 18
0
Resources not exported from puppet agent run on the Puppet Master nodes with PuppetDB
I could use some help debugging a bazaar PuppetDB problem. Exported resources seem to be working fine everywhere except for on the Puppet Masters themselves. Whenever I run the puppet agent on them everything seems to go fine and I see the catalog getting submitted to PuppetDB in the logs. However, when I run puppet on the node that should collect these resources they aren''t
2007 Aug 08
6
Exporting collections/sshkeys
Hullo, I am attempting to use collections in order to distribute ssh keys across (soon) many hosts but I am hitting some trouble (the recipe I am using is at the end of this email). Namely it looks like sshkeys resources are not marked as exported in the sqlite db. I.e. if I do: sqlite3 clientconfigs.sqlite3 SQLite version 3.3.5 Enter ".help" for instructions sqlite> select *
2013 Aug 13
2
Collector not realizing own exported resources when filtering on tags
I''m trying to create a ssh class where the /etc/ssh/ssh_known_hosts and /etc/ssh/shosts.equiv stays updated. The issue i''m finding is that if I include a "tag == anything" in the Collector filter, it collects all resources EXCEPT it''s own. In this case, the known_hosts and .equiv files will have all the other hostnames, but not it''s own hostname.
2012 Aug 29
4
troubleshooting resource collection
Hi, I''m new to Puppet. And I''m trying out an ssh module: https://github.com/saz/puppet-ssh. It collects ssh keys like this: class ssh::knownhosts { Sshkey <<| |>> { ensure => present, } notify{"knownhosts class: $fqdn $hostname $ipaddress ":} } I can see it echoes the host key of the host the puppet agent runs on. But the
2012 Nov 12
1
Require on stored resources
Hi, is there a way to do something alongs the lines of Exec { "assembleBINDZoneFile": ... require => [File["${bindzoneassemblyscript}"], Dnsrecord[ <<| |>> ] ], } I''ve written a DNS record Type/Provider. Exporting Dnsrecord resources with @@ also works nicely. Before the zonefine gets assembled, I want to make sure that puppet first collects
2010 Aug 02
1
wrong facts going into storeconfigs, 0.25+2.6
I''m re-posting this because I''m not sure that it got through the first time. If someone could at least echo back that this is reaching the list, I''d appreciate it. (I''m new to the list.) Sometimes (with variable frequency) storeconfigs stores the wrong data in the fact_values table. This has the end result that exported resources, when collected, have
2011 Dec 15
2
filtering exported resources...
I''m currently searching around/reading up on exported resources, but figured I''d ping the list to see if someone had a quick answer. I''m collecting and exporting ssh keys, basically like the example in ProPuppet and in the wiki etc. I was collecting both rsa and dsa keys, and exporting all keys. I''ve stopped collecting dsa keys, we don''t care about
2010 Feb 16
1
Checking availability of exported resource
Hi all, Is there any way to check if a certain exported resource already exist, without collecting and realizing them first? I''d like to automatically create a @@nagios_servicegroup when it''s mentioned in a define that creates my service checks. Simply doing "if defined(Nagios_servicegroup[''newname''])" doesn''t work, since it''s not
2013 Oct 16
2
Exported resources not in the catalog
Hi, I''m trying to use Puppet ability to export and collect resources using PuppetDB. My PuppetDB and Puppet Master are running on the same host and I used the PuppetDB puppet module to install PuppetDB and configure the Puppet master. Each time the puppet agent runs on a client, the facts and the catalog are being pushed in PuppetDB and I can query the PuppetDB server to get
2007 Nov 13
7
Exported resources & exec ?
Hi, I''m sorry if that''s a FAQ, I also know exported resources are a still experimental. So my problem might well be a design limitation of how exported resources are working. My issue: I''m trying to export a file resource that is created by an exec block. The file is exported fine and collected fine but it is always empty on the other host. The puppet snippet: class
2013 Apr 24
4
How do I check whether an imported resource has already been defined?
Hello Puppeteers, please consider the following scenario: Puppet is supposed to set up similar (but not necessarily identical) groups of hosts for a range of customers. For each customer a dedicated filesystem tree needs to be established on host A. This should not be difficult using exported File resources, however: How do I make sure that only the exported File resource of the first created
2007 Aug 30
2
define-based exported virtual resources
Can you use exported virtual resources with custom definitions? As an example, with the following definition: define vr-tester() { file { "/tmp/vr-success.txt": content => ''foobar''; } } this code is working for me: class testme { @vr-tester { "foobar": ; } Vr-tester <||> } but this is not: class testme {
2011 Nov 04
1
Storeconfigs and nagios and foreman
All- Poking around in the bug database it looks like storeconfigs is being actively worked on. I am using 2.7.6 on my master as well as all the clients. I have clients boot , start puppet and get a signed cert via auto signing. The nagios module (and currently the only thing puppet does) complains a lot during compile time about not having storeconfigs enabled, which is not the case in my