I'd like to do something like this
define mytype() {}
define delete_mytype() {}
mytype { 'a': }
mytype { 'b': }
mytype { 'c': }
$existing_mytypes = # something from facter
# but this doesn't work
$wanted_mytypes = Mytype <||>
Mytype<||> -> Delete_mytype<||>
delete_mytype { diff( $existin
Hi Josh,
Thanks for your email.
>>but isn't the facts loaded from both modulepath and var lib dir just a
consequence of having pluginsync'd on the master?
I mentioned it, as this behaviour didn't happen with 3.4.3.
I'll wait for the 3.6.1 release before testing any further.
Stefan
--
Y
Hi all,
We find that the yumrepo resource is flapping on RedHat 6 Enterprise
with the redhat.repo file since Puppet 3.4.x version (due to a change
about attribute content control)
We have updated with the latest Puppet 3.6 server and agent, because we
saw this commit :
https://github.com/pu
When using a custom resource to deploy java $name is not the name of the
resource but the name of the class in the below mentioned example
java::setup { "${myapplication::params::app_username}-jdk_7u51":
...
cachedir => "/var/lib/puppet/file_cache/${name}-working",
}
Shouldn't $n
Hi,
On Mon May 19 16:39:25 2014, jcbollinger wrote:
>
>
> On Monday, May 19, 2014 6:06:45 AM UTC-5, Boyan Tabakov wrote:
>
> Hi,
>
> The variable I want to access is not defined in a module/class.
> It's the
> globally defined $::environment. Since facts are also exposed as
> g
Any idea?
On Saturday, May 10, 2014 12:22:46 PM UTC+2, cko wrote:
>
> After the puppet run the agent service is basically stopped.
>
> Although when i run "sc queryex puppet" the output is "STOP_PENDING" (not
> stopped but not running either).
>
> So i have to run "taskkill /f /pid 1234" and then
Here is described
http://www.eclipse.org/jetty/documentation/current/configuring-connectors.html
how idle timeout for jetty cat be configured . But I don't know how to apply
this for puppetdb :(
Does anybody have any ideas ?
On May 20, 2014, at 9:43 AM, Sergey Arlashin
wrote:
> 2014-05-
No, it is the current $name, not the resource one.
Regards,
El 20/05/2014 12:36, "Francis Pereira"
escribió:
> When using a custom resource to deploy java $name is not the name of the
> resource but the name of the class in the below mentioned example
>
> java::setup { "${myapplication::params:
But, who can run puppet?
I mean, most puppet configurations needs root, so if someone malicious is a
root which is the point of being able to cheat the environment? He can do
whatever wants.
Regards,
Hi,
On Mon May 19 16:39:25 2014, jcbollinger wrote:
>
>
> On Monday, May 19, 2014 6:06:45 AM UTC
On 2014-20-05 13:02, Boyan Tabakov wrote:
Hi,
On Mon May 19 16:39:25 2014, jcbollinger wrote:
On Monday, May 19, 2014 6:06:45 AM UTC-5, Boyan Tabakov wrote:
Hi,
The variable I want to access is not defined in a module/class.
It's the
globally defined $::environment. Sinc
On Monday, May 19, 2014 9:18:37 AM UTC-5, mike wrote:
>
> Hi,
> I try configure the NTP Hiera class (
> http://docs.puppetlabs.com/hiera/1/complete_example.html) and run ok and
> i dont have any errors in my node client. I believe that my error is a some
> problem with the MySQL configuration H
We don't expose the idle timeout parameter for users to modify.
I am curious though, what happens when you increase max-threads in
your jetty.ini to something like 200?
ken.
On Tue, May 20, 2014 at 12:41 PM, Sergey Arlashin
wrote:
> Here is described
> http://www.eclipse.org/jetty/documentation
Also ... I'd be curious to know what exact version of the JVM you are running.
I'm cautious this is a jetty bug of some kind, perhaps we can ship a
new Jar with a later version of Jetty to you and see if that helps.
ken.
On Tue, May 20, 2014 at 2:03 PM, Ken Barber wrote:
> We don't expose the i
Hi,
I am recently using the puppetlabs/java_ks module. The documentation
claims that the module supports puppet:// uri path for certificates:
from https://forge.puppetlabs.com/puppetlabs/java_ks:
"
certificate
An already-signed certificate to place in the keystore. Accepts local
file paths or pu
On Tuesday, May 20, 2014 2:41:41 AM UTC-5, Bruno Bieth wrote:
>
>
> I'd like to do something like this
>
>
> define mytype() {}
>
> define delete_mytype() {}
>
> mytype { 'a': }
> mytype { 'b': }
> mytype { 'c': }
>
> $existing_mytypes = # something from facter
>
> # but this doesn't work
> $want
On Tuesday, May 20, 2014 3:38:51 AM UTC-5, DjE wrote:
>
> Hi all,
>
> We find that the yumrepo resource is flapping on RedHat 6 Enterprise with
> the redhat.repo file since Puppet 3.4.x version (due to a change about
> attribute content control)
>
> We have updated with the latest Puppet 3.6
On Tuesday, May 20, 2014 5:36:40 AM UTC-5, Francis Pereira wrote:
>
> When using a custom resource to deploy java $name is not the name of the
> resource but the name of the class in the below mentioned example
>
> java::setup { "${myapplication::params::app_username}-jdk_7u51":
> ...
>
On Tuesday, May 20, 2014 6:02:17 AM UTC-5, Boyan Tabakov wrote:
>
> Hi,
>
> On Mon May 19 16:39:25 2014, jcbollinger wrote:
> >
> >
> > On Monday, May 19, 2014 6:06:45 AM UTC-5, Boyan Tabakov wrote:
> >
> > Hi,
> >
> > The variable I want to access is not defined in a module/class
On Tuesday, May 20, 2014 7:36:31 AM UTC-5, Henrik Lindberg wrote:
>
> This suggests a design that is somewhat inside-out, the idea is that
> what is *in* the environment defines what you want, not that you inside
> the environment make decisions based on the name of the environment.
>
Agreed
On Tuesday, May 20, 2014 6:55:31 AM UTC-5, Jose Luis Ledesma wrote:
>
> But, who can run puppet?
>
> I mean, most puppet configurations needs root, so if someone malicious is
> a root which is the point of being able to cheat the environment? He can do
> whatever wants.
>
Yes, generally speaki
Hello,
I'm using Vagrant and i'm trying to use Puppet as a tool for provisioning
one of my virtual machines.
I created a folder named 'manifests' in the same directory of my
VagrantFile. Inside the 'manifests' folder I created a file named db.pp
with the following content:
"exec { "apt-update":
On Monday, May 19, 2014 2:39:47 AM UTC-5, Grant Street wrote:
>
> Hi
>
> First time poster to this forum. I'm in the process of doing a pilot to
> convert a cfengine v2 install to puppet.
>
> I was wondering if any one had any ideas on the following.
>
> I have machines that can be in any comb
On Monday, May 19, 2014 6:48:36 AM UTC-5, David Portabella wrote:
>
>
>
>
>> so, one specific example,
>>> someone (not me) implemented a class tomcat with parameters port and
>>> ssl_port.
>>> I want to use that class,
>>> and I want that the ssl_port is always port + 1 (I don't want this
Unfortunately setting max-threads to 200 did not help.
# java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.12.04.2)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
# dpkg -l |grep -i java
ii ca-certificates-java 20110912ub
Hi,
On 19.05.2014 23:34, Kashyap Bhatt wrote:
I'm wondering if there is a third option that allows me to get the best
of both options:
* No hardcoding in site.pp for my node name, catalog is decided via
hiera yaml config files.
* No separate module/class manifest containing just a 'sing
On 19.05.2014 23:50, Zan Thorn wrote:
So I am just trying to create a file based off a template. I've done
this many times but am stumped. Maybe some silly syntax error I'm not
seeing?
I define the variable:
$local_server_root = 'E:\LocalServer'
Then use it in the file type:
file { 'L
John, thanks for your detailed answer!
So you are trying to remove unmanaged resources of the specified type?
> Puppet has built-in support for that for plugin resource types that meet a
> couple of fairly simple criteria. You would even dispense with any need
> for facter to be involved if y
HeyRafaella,
try this in your Vagrant File
# provisioning with puppet
server.vm.provision "puppet" do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "db.pp"
puppet.module_path = "modules"
end
cheers feli
On Monday, May 19, 2014 1:42:08 PM UTC-5, Jesse Cotton wrote:
>
> On Monday, May 19, 2014 10:18:11 AM UTC-4, jcbollinger wrote:
>>
>>
>>
>> On Friday, May 16, 2014 10:55:35 AM UTC-5, Jesse Cotton wrote:
>>>
>>> I work with Matt and am filling in for him since I posed this question
>>> to him ori
On Monday, May 19, 2014 6:45:56 PM UTC-5, Brian Mathis wrote:
>
> I'm seeing this issue with the current version of stdlib. When getting
> numeric data from hiera, or performing math on a variable, validate_re()
> fails when using the following regex:
> '[0-9]+'
>
>
Fascinating.
> Her
Hi Felix!
Thanks a lot for your answer, but it still doesn't work and I get the same
error.
Em terça-feira, 20 de maio de 2014 08h26min49s UTC-7, Felix Massem escreveu:
>
> HeyRafaella,
>
> try this in your Vagrant File
>
> # provisioning with puppet
> server.vm.provision "puppet"
Using puppet to manage puppet upgrades to the agent has been an interesting
dilemma that sometimes has issues. OpenTable came out with this module:
https://forge.puppetlabs.com/opentable/puppetversion to help handle
upgrades. On Windows they set a scheduled task to manage the upgrade just
after the
Here is a working example, try to see what you can pull from it -
https://github.com/ferventcoder/dayofdevops/tree/master/lab02-firehose
Also, unless you are using multi-machine configuration, there is no reason
to do config.vm.define.
Note this line to provide you more information:
config.vm.p
On Tue, May 20, 2014 at 11:59 AM, jcbollinger wrote:
>
>
> On Monday, May 19, 2014 6:45:56 PM UTC-5, Brian Mathis wrote:
>>
>> I'm seeing this issue with the current version of stdlib. When getting
>> numeric data from hiera, or performing math on a variable, validate_re()
>> fails when using the
On Fri, May 16, 2014 at 11:12:15AM -0700, Ramin K wrote:
> On 5/15/2014 12:14 PM, Christopher Wood wrote:
> >(inline)
> >
> >On Thu, May 15, 2014 at 11:45:21AM -0700, Ramin K wrote:
> >>
> >>I'd also like to disagree slightly with Christopher who also
> >>posted in this thread. Your profile:: class
Le 20/05/2014 15:47, jcbollinger a écrit :
On Tuesday, May 20, 2014 3:38:51 AM UTC-5, DjE wrote:
Hi all,
We find that the yumrepo resource is flapping on RedHat 6
Enterprise with the redhat.repo file since Puppet 3.4.x version
(due to a change about attribute content control)
>
>
>>> We're aware of most of this and agree with most of this. However when
>> you always call include, you lose the ability to say a particular hiera
>> variable is attached to the profile. For example
>>
>> If you define:
>>
>> class profile::apache_phpfpm {
>> include ::apache
>> }
>>
>>
On Tue, May 20, 2014 at 10:54:15AM -0700, Jesse Cotton wrote:
>We're aware of most of this and agree with most of this. However when
>you always call include, you lose the ability to say a particular
>hiera variable is attached to the profile. For example
>If you def
Hi folks,
Attempting to install puppetdb on Debian 6 and have run into a bit of a
roadblock.
It's complaining that java7 is not on the system and yet:
:/usr/lib/jvm# java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (buil
What's the error message?
On Tue, May 20, 2014 at 03:22:24PM -0400, Peter Berghold wrote:
>Hi folks,
>Attempting to install puppetdb on Debian 6 and have run into a bit of a
>roadblock.
>It's complaining that java7 is not on the system and yet:
>:/usr/lib/jvm# java -version
>
The following information may help to resolve the situation:
The following packages have unmet dependencies:
puppetdb : Depends: java7-runtime-headless but it is not installable or
j2re1.7 but it is not installable
E: Broken packages
On Tue, May 20, 2014 at 3:41 PM, Christ
Hey team,
Testing the waters with the new Future Parser functionality.
I've enabled it in [main] and [master] with parser = future, in my
puppet.conf, and am running puppet v3.5.1. Earlier versions of puppet
(namely, 3.4.2) worked fine with this setting enabled and the exact same
modules. I k
If you run your puppetmaster in the foreground with debug enabled it might tell
you more. (You'll have to stop the usual daemon first, and run it as the usual
user not root.)
puppet master --debug --no-daemonize 2>&1 | tee /var/tmp/pm1.log
Also use --config in there if you need it, of course.
Hi,
I think you are mixing the 'define' a resource and 'use' resource type.
$name is an automatic variable that is set by puppet, and will be in the
case of a defined resource, the resource title you give it when 'using'
that defined resource
You can use the $name in the define { } , and
Thanks for the tip, worked like a charm. Turns out I had some variables
with an uppercase first letter.
Got past that, but now I'm also dealing with something else unexpected.
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on
In your situation, I'd file a bug with puppetlabs about this, at least because
this makes puppetdb not trivially installable in squeeze. From the control
files for the last two puppetdb packages:
Package: puppetdb
Version: 2.0.0-1puppetlabs1
Architecture: all
Maintainer: Puppet Labs
Installed-S
Sorry, I've stayed at 3.4.3 so that the exciting things can happen to other
people for a while.
Were I debugging this, I'd check my data to make sure that everything was the
same as from 3.4.2 and then try to reproduce using the simplest pp file I could
(then maybe file a bug).
On Tue, May 20,
Juan,
Are you exporting extra_files as a mountpoint in fileserver.conf? If not
and extra_files is in a module then the path should be
puppet:///modules//extra_files/certificates/mycert.org.crt
The documentation at
http://docs.puppetlabs.com/guides/file_serving.htmlmight help.
Morgan
On Tue, M
Hah, indeed. 3.5.0 has introduced some fun changes ;-) Thanks for your help!
On Tuesday, May 20, 2014 4:42:04 PM UTC-4, Christopher Wood wrote:
>
> Sorry, I've stayed at 3.4.3 so that the exciting things can happen to
> other people for a while.
>
> Were I debugging this, I'd check my data to ma
the yumrepo resource creates a *.repo file for every resource. The
redhat thing just puts all repos in one big file.
and if you remove the redhat.repo, on a subscribed system, this file
will be recreated depending on the subscribed channel.
I did not test it in puppet3.x, but maybe it could wo
As previously announced[1], Raring has now been removed from our
public apt repositories, as it had reached end of life.
[1] -
https://groups.google.com/forum/#!msg/puppet-users/YEG0C3OtWfE/Nq6AUGCv5kQJ
--
Matthaus Owens
Puppet Labs
Join us at PuppetConf 2014, September 22-24 in San Francisco
Hey guys,
I wrote a post on how to profile your puppet catalog compilations (3.4+) to
find resource hogs
Hope this helps someone
http://www.wolfspyre.com/2014/05/profiling-puppet-catalog-compilations/
--
You received this message because you are subscribed to the Google Groups
"Puppet Users"
The control file was modified in particular to be compatible with the
make-jpkg created packages to work around older releases like Debian 6
squeeze:
https://wiki.debian.org/JavaPackage
Unfortunately this was the closest we could find to a standard way of
supporting a dependency against a Debian
On 05/16/2014 12:34 PM, Ugo Bellavance wrote:
Do I need the puppet concat module to do that? I am on puppet version
2.6 (using EPEL repo, "upgrading" to 2.7 soon. I know it is not what
this group recommends, but it's the best for me right now).
Yes, you do if you use the code I provided.
-
On Tuesday, May 20, 2014 8:47:58 PM UTC-4, Jakov Sosic wrote:
>
> On 05/16/2014 12:34 PM, Ugo Bellavance wrote:
>
> > Do I need the puppet concat module to do that? I am on puppet version
> > 2.6 (using EPEL repo, "upgrading" to 2.7 soon. I know it is not what
> > this group recommends, but
On Wednesday, May 21, 2014 12:31:59 AM UTC+10, jcbollinger wrote:
>
>
>
> On Monday, May 19, 2014 2:39:47 AM UTC-5, Grant Street wrote:
>>
>> Hi
>>
>> First time poster to this forum. I'm in the process of doing a pilot to
>> convert a cfengine v2 install to puppet.
>>
>> I was wondering if any
On 5/21/14, 12:40 AM, Grant Street wrote:
>
>
> On Wednesday, May 21, 2014 12:31:59 AM UTC+10, jcbollinger wrote:
>
>
>
> On Monday, May 19, 2014 2:39:47 AM UTC-5, Grant Street wrote:
>
> Hi
>
> First time poster to this forum. I'm in the process of doing a
> pilo
Great stuff, thanks for this. Would be nice to get this kind of
troubleshooting in the official docs somewhere.
--
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
Hi Morgan,
Yes, I have configured [extra_files] and it is working ok with other
module. The isue here is that instead of downloading the file
mycert.org.crt and using it while running the local command it
references it as if the certificate were already on the client and
using the [extra_files] ac
59 matches
Mail list logo