On 7/17/12 11:30 PM, julien cosmao wrote:
> Hi,
>
> I want to introduce "Proxmox" as new value in $::operatingsystem.
> "Proxmox" is based on Debian, so the normal value is currently "Debian".
>
> To change that, I just write a custom fact based on the facter fact
> "operatingsystem"
>
> Fac
- Original Message -
> From: "Gabriel Filion"
> To: puppet-users@googlegroups.com
> Sent: Wednesday, July 18, 2012 12:48:00 AM
> Subject: Re: [Puppet Users] Pros and Cons of a Decentralized Puppet
> Architecture
>
> On 12-07-17 09:11 AM, JMeterX wrote:
> > We have around 300 RHEL serve
On 12-07-17 09:11 AM, JMeterX wrote:
> We have around 300 RHEL servers that are currently connecting to a
> Puppetmaster server. However, we have noticed some performance
> bottlenecks and it is the point of failure in our system. I am fairly
> new to puppet in general and I am considering creating
So I'm seeing a lot of hype around Ansible. It seems to be a compelling story.
I've looked around and found a lot of stories about why you would use it over
puppet, but not puppet over ansible. Can anyone relate personal experiences or
point to some interesting reading?
--
You received this
Okay, I totally did see this in the release notes but I read it that you
weren't allowing certificates with IP addresses in them, not that you wouldn't
allow IP authentication in auth.conf at all.
Jul 17 14:52:46 sj2-puppet puppet-master[13998]: Authentication based on IP
address is deprecate
On Jul 17, 2012, at 12:42 PM, jcbollinger wrote:
> I apologize for how abstract and vague that description is, but there is a
> great deal more design effort needed than I am prepared to exert at the
> moment.
No worries. It confirms what is necessary for me right now which is that it's
not so
Nan:
I also coded up a test module using empty() and it works just fine, so it
seems that the issue is in how my module uses the empty() function. It
almost seems as though the empty() function is getting redefined somewhere
else, yet I don't find any other definitions anywhere in /etc/puppet/* .
On Tuesday, July 17, 2012 12:35:34 PM UTC-5, Jo wrote:
>
> On Jul 17, 2012, at 6:30 AM, jcbollinger wrote:
>
> Apparently so. I don't want to drag this thread off into a rehash of the
> constraints idea, but one of the central ideas is that it allows
> cooperative specification of resource pro
Thanks for creating this ticket. Here's what I've uncovered so far. The
following (generated by audit2allow) worked so long as I was using port
8081:
module puppetdb 1.0;
require {
type puppetmaster_t;
type transproxy_port_t;
class tcp_socket name_connect;
}
#
On Tuesday, July 17, 2012 2:02:10 PM UTC-5, ZJE wrote:
>
>
> On Tuesday, July 17, 2012 12:29:52 PM UTC-5, Jeff McCune wrote:
>>
>> On Tue, Jul 17, 2012 at 9:49 AM, Nan Liu <> wrote:
>>
>>> On Tue, Jul 17, 2012 at 8:34 AM, ZJE <> wrote:
>>> > I'd like to reuse the same ruby code in a type across al
On Tuesday, July 17, 2012 12:29:52 PM UTC-5, Jeff McCune wrote:
>
> On Tue, Jul 17, 2012 at 9:49 AM, Nan Liu <> wrote:
>
>> On Tue, Jul 17, 2012 at 8:34 AM, ZJE <> wrote:
>> > I'd like to reuse the same ruby code in a type across all the
>> providers. For
>> > the type I'm writing, a certain port
On my puppet master, some of the directories that puppet controls contain
symlinks that point to targets that don't exist on the master (but do on
the nodes).
When I run puppet doc, it fails due to these targets not existing.
Is there a way around this, that won't require me setting up the "mis
Hi Maura,
I've created http://projects.puppetlabs.com/issues/15567 to track the issue
on the Puppet Labs side. The communication between a puppetmaster and
puppetdb happen over HTTPS, and the default port puppetdb listens on for
HTTPS is 8081 (though you can change that if you like). That should b
On Nov 27, 2011, at 5:22 PM, Nigel Kersten wrote:
> On Sun, Nov 27, 2011 at 2:48 PM, Jo Rhett wrote:
> Assuming that what you say above is right, I would suggest that showing the
> error only once is only useful for single-digit puppet installations. The
> problem here is that I have 500+ nodes.
On Tue, Jul 17, 2012 at 8:41 AM, Mateusz Lenik wrote:
> Hello,
>
> My name is Mateusz and I'm one of the GSoC 2012 students.
> My proposal was to expand features of Ruby DSL for Puppet.
> The idea is to make Ruby DSL as similar as possible to Puppet language, so
> it
> can be learned easily and st
Don't know why you are asking foreman questions on a puppet list, but "puppet
agent --test --tags tag1" on the host or "puppet kick hostname --tags tag1"
from the puppetmaster would do what you want.
On Jul 16, 2012, at 11:46 PM, Yaniv Fine wrote:
> i am running puppet version 2.6.16 and foreman
Hi Julien,
When writing custom facts, you can specify precedence by setting a weight
for your fact resolution.
By default, the weight of a fact resolution is the number of confines it
has. Since your custom fact resolution has no confine statements, and the
default operatingsystem resolution
On Jul 17, 2012, at 6:30 AM, jcbollinger wrote:
> Apparently so. I don't want to drag this thread off into a rehash of the
> constraints idea, but one of the central ideas is that it allows cooperative
> specification of resource properties. Constraints -- as I envision them --
> are not a dyn
On Jul 17, 2012, at 12:54 AM, Felix Frank wrote:
> On 07/16/2012 10:29 PM, Jo Rhett wrote:
>> We aren't, because we have no external datasource for this stuff and
>> every example we've seen (like yours above) indicates that we're going
>> to have to put half of the logic engine of puppet inside th
On Tue, Jul 17, 2012 at 9:49 AM, Nan Liu wrote:
> On Tue, Jul 17, 2012 at 8:34 AM, ZJE wrote:
> > I'd like to reuse the same ruby code in a type across all the providers.
> For
> > the type I'm writing, a certain portion of the "exists?" method would be
> > repeated across all providers. From lo
ok, verified it was 100% a host problem puppet did good showing the
error. the binary of chkconfig was corrupt every command line argument
output a return code of 0 no matter what. Im not sure where puppet got
that the command actually failed... but im glad it did.
--
You received this mes
On Tue, Jul 17, 2012 at 8:34 AM, ZJE wrote:
> I'd like to reuse the same ruby code in a type across all the providers. For
> the type I'm writing, a certain portion of the "exists?" method would be
> repeated across all providers. From looking at the documentation,
> http://docs.puppetlabs.com/gui
Ugh, that's horrible. I'd ruled it out earlier for something unrelated and
promptly forgot about it. Of course, setting the system into permissive
mode made one glaring thing crop right up:
type=AVC msg=audit(1342542891.975:47155): avc: denied { name_connect }
for pid=3883 comm="puppetmasterd"
Hi,
On 07/13/2012 09:46 PM, david boldt wrote:
> what is the incantation that would work for iteration?
>
> scope.lookupvar('::varname').each
this looks all right but
> Produces puppet error: undefined method `each' for :undefined:Symbol
it seems that the lookup itself fails. Are you certain
Sorry .
My mistake . I have used the share_module:varname
On Jul 17, 2012 7:06 PM, "Felix Frank"
wrote:
> Hi,
>
> On 07/17/2012 05:16 PM, Yaniv Fine wrote:
> > thank you for the answer .
> > i tried to use the "
> >
> > |scope.lookupvar(share_module::varname)" in the erb file
> > but got a blank
On Tue, Jul 17, 2012 at 6:47 AM, jcbollinger wrote:
>
>
> On Monday, July 16, 2012 6:50:36 PM UTC-5, Anatoliy Lisovskiy (Wavebourn)
> wrote:
>>
>> Hi!
>> What I am doing wrong?
>>
>> When I define such a way:
>> ===
>> import "classes/*.pp"
>>
>> node default{
>> includ
Hi,
On 07/17/2012 05:16 PM, Yaniv Fine wrote:
> thank you for the answer .
> i tried to use the "
>
> |scope.lookupvar(share_module::varname)" in the erb file
> but got a blank line (empty value)
> i will have a look on |hiera
>
> also ,
> thank you
I'm fairly certain you need to quote the n
I have used the <% and <%= but didn't use the share_module
On Jul 17, 2012 6:34 PM, "llow...@oreillyauto.com"
wrote:
>
>
> On Tuesday, July 17, 2012 10:16:56 AM UTC-5, Yaniv Fine wrote:
>>
>> thank you for the answer .
>> i tried to use the "
>>
>> scope.lookupvar(share_module::**varname)" in the
On Jul 16, 2012, at 11:46 PM, Yaniv Fine wrote:
> Hi all .
> i am running puppet version 2.6.16 and foreman Version 0.4.2 .
> my question is as follows .
> i would like to know if there is a way to tag server with a group tagging .
> for example .
> let say i am running apache with a unique conf
On Tuesday, July 17, 2012 10:16:56 AM UTC-5, Yaniv Fine wrote:
>
> thank you for the answer .
> i tried to use the "
>
> scope.lookupvar(share_module::varname)" in the erb file
>
>
Did you use '<%' or '<%=' in the template?
You also may need to add include 'share_module' to the .pp
but got a
I'd like to reuse the same ruby code in a type across all the providers.
For the type I'm writing, a certain portion of the "exists?" method would
be repeated across all providers. From looking at the documentation,
http://docs.puppetlabs.com/guides/custom_types.html, it's not quite clear
how I
thank you for the answer .
i tried to use the "
scope.lookupvar(share_module::varname)" in the erb file
but got a blank line (empty value)
i will have a look on hiera
also ,
thank you
On Tue, Jul 17, 2012 at 5:37 PM, llow...@oreillyauto.com <
llow...@oreillyauto.com> wrote:
>
> Comments in line
Is there no one who has done this that can provide examples of how they did
it?
--
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/-/tp0E_KzP6rsJ.
To post to th
I tried this method too:
http://www.puppetcookbook.com/posts/override-a-facter-fact.html
It works with puppet 2.7, but not with 2.6.2
[16:41:15 #168 root@:~$ ] FACTER_operatingsystem=plop puppet -e 'notify {
> "We are running on $::operatingsystem": }'
> notice: We are running on Debian
> noti
Comments in line.
On Tuesday, July 17, 2012 8:24:46 AM UTC-5, Yaniv Fine wrote:
>
>
> Hi Team .
>
> i am trying to use "Out-of-Scope Variables"
> trying to setup kind of like an "answer" file that would be global file
> for other modules to use .like 40 variables .
> and call the variables from
Im with you in thinking it is a host issue I thought I would check here
first before abandoning hope. Puppet is ran as root and selinux is
disabled.
On Tuesday, July 17, 2012 8:18:03 AM UTC-5, jcbollinger wrote:
>
>
>
> On Monday, July 16, 2012 5:23:15 PM UTC-5, Corey Hammerton wrote:
>>
>> it
On Monday, July 16, 2012 6:50:36 PM UTC-5, Anatoliy Lisovskiy (Wavebourn)
wrote:
>
> Hi!
> What I am doing wrong?
>
> When I define such a way:
> ===
> import "classes/*.pp"
>
> node default{
> include ntp
> include add_admin_accounts
>
> }
>
>
> node kvm4 inherit
Hi,
I want to introduce "Proxmox" as new value in $::operatingsystem.
"Proxmox" is based on Debian, so the normal value is currently "Debian".
To change that, I just write a custom fact based on the facter fact
"operatingsystem"
Facter.add(:operatingsystem) do
> ...
>setcode do
>...
>
On Monday, July 16, 2012 10:42:11 AM UTC-5, Felix.Frank wrote:
>
> On 07/16/2012 04:14 PM, jcbollinger wrote:
> > That feature isn't available today, as far as I know, but I have an idea
> > how it might look. In fact, I had it about six months ago. Remember
> > resource constraints
> > (
>
Hi Team .
i am trying to use "Out-of-Scope Variables"
trying to setup kind of like an "answer" file that would be global file
for other modules to use .like 40 variables .
and call the variables from template or manifest file .
lets say i have module share_module/mainfest/init.pp
$var1 = '
On Monday, July 16, 2012 5:23:15 PM UTC-5, Corey Hammerton wrote:
>
> it works for me when redhat is quoted.
>
Puppet generally does a good job of choosing the right provider, so it is
rarely necessary to specify one explicitly. That's especially so for
RedHat variants, which tend to be well
We have around 300 RHEL servers that are currently connecting to a
Puppetmaster server. However, we have noticed some performance bottlenecks
and it is the point of failure in our system. I am fairly new to puppet in
general and I am considering creating a decentralized puppet architecture
inst
Hi
I am toying around with puppet to use it in our company. My first task is
to install a pptp server using it. I have to challenges in this task:
1 - There's a ms-chap file which contains the users/passwords. Is there any
best practice whether to server such files using puppet or put them on the
On 07/13/2012 07:53 PM, Matthaus Litteken wrote:
> Felix, since you have a fix (as you noted in the ticket), why don't
> you open a pull request and change the status of the bug to in topic
> branch pending review. That will also certainly get the issue noticed.
I didn't know I had the power ;) I
Hi Maura,
I asked the question on the puppet IRC channel, the solution in my case was
to add SELinux rules to allow the puppetdb process to do it's thing.
Something to check :)
Brett
On 17 Jul 2012, at 01:34, Maura Dailey wrote:
> I'm running RHEL 6.3, using the packages from the puppetlab
Hi all .
i am running puppet version 2.6.16 and foreman Version 0.4.2 .
my question is as follows .
i would like to know if there is a way to tag server with a group tagging .
for example .
let say i am running apache with a unique configuration and network
architecture and want to tag in with "t
I'm running RHEL 6.3, using the packages from the puppetlabs yum
repository, and I am getting the exact same problem (with the exact same
solution, which I didn't even think to try until Brett thoughtfully
provided it). I start puppetmaster's init script with: service puppetmaster
start. I get
On 07/16/2012 10:29 PM, Jo Rhett wrote:
> We aren't, because we have no external datasource for this stuff and
> every example we've seen (like yours above) indicates that we're going
> to have to put half of the logic engine of puppet inside the data
> source, which means it needs to be a very com
48 matches
Mail list logo