function doesn't solve this.
How do I accomplish that?
regards,
Vincent Lamers
--
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
isn't better not to return a Sensitive data in vault_lookup.rb (just plain
text), but wrap the Deferred function with Sensitive?
Like this:
$secret_lookup = Sensitive(Deferred('vault_lookup::lookup', ["secret/
client.example.com", 'https://puppet.example.com:8228']))
notify {mysql_root:
messag
First sign of breakage: https://tickets.puppetlabs.com/browse/BKR-1590
Fixed here: https://github.com/puppetlabs/beaker-puppet/pull/113
On Monday, May 6, 2019 at 6:16:25 PM UTC-4, Molly Waggett wrote:
>
> Hey folks,
>
> REMINDER that the repository path changes* will take effect next week, on
>
Thanks for the reference. Note that RuboCop had a problem with the style;
I'll push a patch presently.
On Wednesday, February 17, 2016 at 10:30:06 AM UTC-5, Trevor Vaughan wrote:
>
> Hi Joseph,
>
> You can see how we do it in SIMP using this reference spec_helper.rb
> https://github.com/simp/p
: []
>
> Hope, all of you can give me good tipps how I can solve my taks!
>
> Thanks a lot for your help :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop rec
Hi,
Very old thread but if someone else is redirected here by a google search...
In my case, I used:
$ cat facts.yaml
---
'::fqdn': "creator.mgnt.local"
And it worked.
Regards,
Vincent.
Le jeudi 9 janvier 2014 11:29:34 UTC, Peter a écrit :
>
> Hi List,
>
> I
DB was not able to take commands from the
puppetmaster due to the the fact that the shortname wasn't declared in all
three sections. It was trying to use the FQDN.
On Wednesday, May 20, 2015 at 6:19:18 AM UTC-5, Thomas Müller wrote:
>
>
>
> Am Mittwoch, 20. Mai 2015 07:15:07 UTC
This may have been asked before, but I'm having problems clearing out nodes
from puppetdb.
Some background info:
OS:
[root@puppet-sys puppet]# cat /etc/redhat-release
Scientific Linux release 6.6 (Carbon)
Puppet version:
[root@puppet-sys puppet]# puppet -V
3.7.5
PuppetDB version: 2.3.4
Pupp
Hello,
Nearly everything is in the title.
When I manually run a puppet agent --test on a host (let's say "host1")
that export @@something, I can get "something" on another host (let's say
host2) and I'm happy.
Later, when the daemon on host1 runs, it still exports @@something but
custom facts
Hello,
I need to export concat::fragment on some nodes and gather the results on
some other.
To create the export I do something like :
@@concat::fragment{"/myfile-$fqdn":
target=>"/myfile"
}
but on the export node I get :
Invalid relationship [...] because Exec[concat_/myfile] doesn't seem
I've done some tests :
Foreman really just reply a YAML hash with the class name and its
parameters (there is a viewer, it just output what it should).
I've been trying parse order issue ("myclass" is output after
"applications"), but having "anotherclass" that come before, it does not
work.
I
I've simplified things a bit in the description to make it easy to read.
I don't really have
$apps = {
test => {
url=> "https://mygitrepos/myapp.git";,
root=> "/opt/apps/myapp",
user=>"root",
require=>Class[myclass],
}
}
Instead, I pass a YAML hash through an ENC (For
Hello,
I have a define like this :
define application::install($root,$url,$user="root")
{
include git
#Puppet wants a command to start with /something...
$cmd="/bin/echo 1&&{ cd $root||mkdir $root&&cd $root ; }&&git clone -b
prod $url ."
$unless="/bin/ls -alh $root |grep '.git'"
exec{"$cm
On Friday, February 25, 2011 2:10:13 PM UTC+1, Thomas Bellman wrote:
>
> On 2011-02-25 13:27, Dave Augustus wrote:
>
> > I have added the following in my puppetmaster.conf file:
> >
> > [production]
> > manifest = $vardir/env/production/manifests/site.pp
> > modulepath =
> $vardir/env/pro
a (not the same guys behind).
Well, I still have to think about it.
Any help is welcome.
Le vendredi 2 mai 2014 18:53:57 UTC+2, Felix.Frank a écrit :
>
> On 05/02/2014 06:43 PM, Vincent Miszczak wrote:
> > For my example, I have just included hiera_hook("roles") i
(val)
hierarchy.insert(0,val)
end
end
end
end
Le vendredi 2 mai 2014 16:11:51 UTC+2, Vincent Miszczak a écrit :
>
> Hi,
>
> I'd like to add things dynamically to :hierarchy: when I use hiera
h as Python/Java.
I just want a custom function hiera_roles() append to the hierarchy array
used by Puppet.
Could someone help with writing this custom function ?
Regards,
Vincent
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
's wrong. No input in the mcollective.log file. Nothing on
both servers and client sides.
I appreciate any help or hint about this issue.
Regards,
Vincent.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group an
1.8.7
Then I easily installed the Fog gem.
Everything works fine now.
I still have a question : I'm working with the open source version of
puppet and I can't use "puppet node_aws install ...", is this normal ? It
doesn't even appear in the 'puppet help node_aws
l/rvm/gems/ruby-1.9.2-p320/gems/nokogiri-1.6.0/lib/nokogiri/nokogiri.so:
[BUG] Segmentation fault
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
Abandon (core dumped)
I really don't understand why this.
If anyone encountered this problem before, thanks for help.
Vincent
--
You rec
32bit libraries
How can I do the "dpkg --add-architecture i386" properly with puppet ?
Thanks,
Vincent
--
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
I'm in the process of setting up a puppet meetup group, and am trying to
attract members:
http://www.meetup.com/Vancouver-Puppet-Automation/
If you're in or near the Vancouver BC, Canada area and are interested in
talking about puppet and things, sign up!
Thanks.
--
You received this messa
Dalen's written https://github.com/dalen/puppet-puppetdbquery which may be
of some use.
On Friday, 8 March 2013 08:14:35 UTC-8, Jonathan Gazeley wrote:
>
> I use ClusterSSH for prodding my Puppet-managed servers occasionally.
> I'd like a way of generating my .csshrc automatically so it always
Is there a way of determining spec testing reports of manifests? I'm
adding tests to an existing deployment and it'd be useful to find out what
code isn't being tested.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion o
How Can I detect why augeas doesn't treat them ?
How can I know if it is a lens failure ?
Does augeas have a debug mode ?
2011/8/25 Rob McBroom
> On Aug 25, 2011, at 9:35 AM, Vincent wrote:
>
> > yes it was as root, why the ls /etc doesn't return the sudoers ?
>
>
25, 2011, at 9:05 AM, Vincent wrote:
>
> > the augeas tool doesn't return anything when I am trying to get the
> > actual spec
> > augtool> print /files/etc/sudoers
> > augtool>
>
> > How can I test augtool ?
>
> Fromhttp://projects.puppetlabs.c
Hello,
I am trying to use augeas via puppet,
augeas { "mailops":
context => "/files/etc/sudoers",
changes => [
"set spec[user = '%mail-ops']/user %mail-ops",
"set spec[user = '%mail-ops']/host_group/host ALL",
"set spec[user = '%mail-ops']/host_group/command[1] \"/bin/su imail
\"",
Hello,
I am trying to set a defaults groups before realize virtual resource
(user)
The default value is not used,
is it possible to define the default groups at this level ?
User { groups => 'ops' }
realize(
User["vincent"],
..
--
You received this
no other solution ?
Where this query is used in the code ?
Can we disable the query ?
On Apr 18, 12:49 am, Andrew Forgue wrote:
> I also tried to look at this; since it was causing me issues as well. I had
> 800,000 rows or so in the reports table but I accidentally corrupted it
> (kill -9) so
Hello,
I have got an error 500 when I try to view a report in the dashboard
Here is the log :
ERROR: compiling
_run_haml_app47views47reports47_resource_statuses46html46haml_locals_object_report_resource_statuses
RAISED Input/output error
Function body: def
_run_haml_app47views47repor
as not clear. Try an index just for kind, and another
> separate index just for status. You are down to 4 x 768 (3072) from 95691.
> That is much better. Again, drop the create separate indexes for kind and
> status and index_reports_on_kind_and_status .
>
> On Tue, Apr 12, 2011 at 2:
I have add an index
ALTER TABLE `reports` ADD INDEX `index_reports_on_kind_and_status` ( `kind`
, `status` )
it s better but maybe not perfect as the query is performed on each pages in
the dashboard
Thanks
Vincent
mysql> explain SELECT `nodes`.* FROM `nodes` INNER JOIN `reports`
>
> explain select nodes blah blah blah
>
> You should get back a listing that will let you see how the indexes are
> being used (or abused!). You may discover that in addition to the composite
> index you have that two additional indexes will help.
>
> ~Charles~
>
>
&
on the respective tables?
>
>
>
>
>
>
>
> On Tue, Apr 12, 2011 at 5:25 AM, Vincent wrote:
> > I have increase the mysql like this but the queries takes still more
> > than 9sec for the first page.
> > any other suggestions for the mysql tuning ?
>
> &g
query on nodes or reports table are very quick, it s with this join
that the query is slow
Is an index missing ?
On Apr 12, 12:25 pm, Vincent wrote:
> I have increase the mysql like this but the queries takes still more
> than 9sec for the first page.
> any other suggestions for
apply'
AND reports.status = 'failed') AND (`nodes`.`hidden` = 0)) GROUP BY
nodes.id
On Apr 11, 4:19 pm, Vincent wrote:
> Thanks
>
> I have make the
> rake RAILS_ENV=production db:raw:optimize
> and in the my.cnf
> query_cache_size = 2000
>
> Its reall
Thanks
I have make the
rake RAILS_ENV=production db:raw:optimize
and in the my.cnf
query_cache_size = 2000
Its really better
Vincent
On 11 avr, 14:26, Mohamed Lrhazi wrote:
> There's some rake tasks, and other things, suggested
> here:https://github.com/puppetlabs/puppe
d') AND (`nodes`.`hidden` = 0)) GROUP BY
nodes.id
Node Load (13149.9ms) SELECT `nodes`.* FROM `nodes` INNER JOIN
`reports` ON reports.node_id = nodes.id WHERE ((reports.kind = 'apply'
AND reports.status = 'failed') AND (`nodes`.`hidden` = 0)) GROUP BY
nodes.id
How can i opti
It s work, I have adapt the auth.conf and add auth no :
..
path /facts
auth no
method find
allow dashboard
..
Vincent
On 1 avr, 08:22, Vincent wrote:
> Hello,
>
> I am trying to use the Inventory feature of the Dashboard.
>
> I ve got this error
> Inventory
> Could no
t line 102
currently I have add in the auth.conf :
...
path /facts
method find
allow *
..
Vincent
--
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 th
I execute one script hourly, this script create an output file that I
need to push on another server
As puppet can pass our fw I would like to use it as file transfert.
Vincent
On Mar 10, 2:26 pm, Felix Frank
wrote:
> Please elaborate further. How much output are we talking about and w
So I need to retrieve the output of somes scripts running on many
clients
Must I configure a puppet server on each nodes ?
On Mar 10, 12:37 pm, vincent wrote:
> What is the best way to retrieve files on clients ?
>
> Vincent
--
You received this message because you are subscrib
What is the best way to retrieve files on clients ?
Vincent
--
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
pu
Could not retrieve catalog from remote server: hostname not match
with the server certificate
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
2011/2/21 vincent :
> Thanks
>
> I am trying this, do you know which index can use ?
>
> # op
002:system library:fopen:No such file or
directory:bss_file.c:352:fopen('../../CA/index.txt','r')
4717:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
2011/2/21 Felix Frank :
>
>
> On 02/21/2011 06:00 PM, vincent wrote:
>> the file ca_crl.pem was cle
the file ca_crl.pem was cleaned accidentally.
How can I have an empty revocation list ?
2011/2/21 Felix Frank :
> Hi,
>
> On 02/21/2011 03:28 PM, vincent wrote:
>> Hi,
>>
>> My puppet master don't want to start anymore.
>> Any idea ?
>>
>>
&
Hi,
My puppet master don't want to start anymore.
Certificat issue ?
Any idea ?
[root@puppetmaster requests]# puppet master --no-daemonize --debug
debug: Puppet::Type::User::ProviderDirectoryservice: file
/usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderPw: file pw does not exist
Hi,
My puppet master don't want to start anymore.
Any idea ?
[root@puppetmaster requests]# puppet master --no-daemonize --debug
debug: Puppet::Type::User::ProviderDirectoryservice: file
/usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Typ
Hi
Is it possible to configure apache to redirect to the dashboard ?
I have try the config :
ProxyPass/http://localhost:3000
ProxyPassReverse /http://localhost:3000
I ve got the foolowing error when I try to get the nodes pages :
Proxy Error
The proxy server receive
I have try with the 1.5.2-1.el4 and it s working :-)
So yes this is coming from facter 1.5.4
Thanks
Vincent
On Fri, May 29, 2009 at 10:40 AM, Vincent Louviaux wrote:
> it s 1.5.4 coming from epel depots ..
>
> I will try the 1.5.5 but I think there are no rpm available at this time,
it s 1.5.4 coming from epel depots ..
I will try the 1.5.5 but I think there are no rpm available at this time, I
must compile ..
Thanks for your help
Vincent
On Fri, May 29, 2009 at 10:32 AM, Avi Miller wrote:
>
> Hi,
>
> Vincent Louviaux wrote:
> > I have a lot of
Hi,
I have a lot of systems where the puppetd doesn't do anything ..
When I test with puppetd -tv, it s running well, but when it is started as
deamon th process do nothing :(
How can I debug this ?
Vincent
May 29 10:07:56 puppetd[6160]: Reopening log files
May 29 10:07:56 puppetd
I have recreate the DB ..
now it solved
Vincent
On Thu, May 28, 2009 at 2:45 PM, Vincent Louviaux wrote:
> Hello
>
> I have restart puppetmasterd with dbmigrate
> but I still have the error : Could not store configs
>
>
> May 28 14:37:18 puppetmasterd[19150]: Migrat
19150]: Compiled catalog for xxx in 1.92
seconds
May 28 14:37:27 puppetmasterd[19150]: Could not store configs: undefined
method `environment=' for #
Vincent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&qu
I have same request : have puppet on sarge
Is ruby 1.8 is available somewhere ?
I am trying to recompile and I ve got the following error :
devsarge:/export/packages/puppet/puppet-0.24.7# dpkg-buildpackage
dpkg-buildpackage: source package is puppet
dpkg-buildpackage: source version is 0.24.7-1
there are two useradd in the redhat spec file, So I removed one
Can you adapt the redhat spec :
159d158
< useradd -r -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
Now the last puppet run on my rhel3 :-)
Vincent
On Thu, Apr 2, 2009 at 10:29 AM, Vincent Louviaux wrote:
&
: user puppet does not exist - using root
warning: user puppet does not exist - using root
warning: user puppet does not exist - using root
On Thu, Apr 2, 2009 at 10:23 AM, Vincent Louviaux wrote:
> it s compiled when removed the libselinux dependency
>
> Do you have a spec file for ru
That's the problem with this package :
# rpm -Uhv augeas-0.2.2-1.el3.rf.i386.rpm
warning: augeas-0.2.2-1.el3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID
6b8d79e6
error: Failed dependencies:
augeas-libs = 0.2.2-1.el3.rf is needed by augeas-0.2.2-1.el3.rf
Thanks for your help
Vincent
Hello,
I am trying to install puppet on redhat enterprise 3
I have successfully compil ruby facter and puppet
The augeas-libs rpm is not available for el3 on any website and I have
a compilation error with it
Is someone has still an rpm for redhat 3 ?
Vincent
the asterisks was comming because I have write in html and put theses line
on bold :(
Vincent
On Wed, Feb 25, 2009 at 1:03 PM, Bruce Richardson wrote:
>
> On Wed, Feb 25, 2009 at 12:52:29PM +0100, Vincent Louviaux wrote:
> > Hello,
> >
> > I am trying to disable
Ok I have add
provider=>"base",
Thanks for the tips !
but I think a bug with the redhat provider
Vincent
On Wed, Feb 25, 2009 at 1:11 PM, Trevor Vaughan wrote:
>
> I ran into this problem as well.
>
> I ended up having to set my 'provider' to 'base
ed service
..
from the manifests :
service { cfexecd:
stop=>"*/usr/bin/killall cfexecd*",
ensure => stopped,
}
# puppetd --version
0.24.7
on Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
A bug ?
Vincent
--~--~-~--~~---
I have make the following change to compile the rpm
Change the version and add the Group
Vincent
diff /tmp/puppet-0.24.7/conf/redhat/puppet.spec
/tmp/puppet-0.24.7-vlv/conf/redhat/puppet.spec
5c5
< Version:0.24.6
---
> Version:0.24.7
11a12,13
> Group: System Environ
Thanks !
is the spec file can be updated too ?
# head /tmp/puppet-0.24.7/conf/redhat/puppet.spec
%{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts
Config::CONFIG["sitelibdir"]')}
%define confdir conf/redhat
Name: puppet
Version:*0.24.6*
Release:1%
You can use the spec file from David Lutterkort to create the rpm
http://people.redhat.com/dlutter/yum/spec/puppet.spec
Change the ligne begins "Version" and rpmbuild -bb
Vincent
On Tue, Dec 2, 2008 at 1:41 PM, Trevor Vaughan <[EMAIL PROTECTED]>wrote:
>
> Has
I am trying the server-based filebucket.
How can I know from which node the backup file is coming ?
Vincent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group,
How can I use regular expression in manifests ?
Something like this :
if "$productname" =~ /ProLiant/ {
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to pu
example :
class puppet {
case "$lsbdistid $lsbdistrelease" {
"RedHatEnterpriseES 4": {
package { puppet:
provider => yum,
ensure => latest;
...
On Wed, Oct 29, 2008 at 4:04 PM, Tiago Cruz <[EMAIL PROTECTED]>wrote:
> Hey Aj,
>
> Thanks... but where I need put this? On Server? O
or:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM
lib)
So which file must be used for ssl in nginx ?
Vincent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, s
Hello
What is the best practice to have a testing and a production environment on
the same pupetmasterd ?
Must I defined in each class a test with an env variable ?
Vincent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
like something like :
import "classes/$lsbdistid/$lsbdistcodename/*.pp"
Vincent
--~--~-~--~~~---~--~~
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
71 matches
Mail list logo