Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2017-03-09 Thread Michal Strnad
Hi Matthew,

I would really appreciate your experience with such build. I'm currently 
facing the same need to build the Puppet AIO package for ppc64le SLES 12.
Therefore I would kindly ask you to share some more details about the 
process.

Thank you.

Dne úterý 14. června 2016 21:45:16 UTC+2 Matthew Gyurgyik napsal(a):
>
> I have successfully built the AIO package using the 
> puppetlabs/puppet-agent [1] repository from source. I did this because I 
> needed ppc64le packages which puppetlabs does not provide. This isn't the 
> easiest process, but not terribly difficult if you are comfortable building 
> software.
>
> I wanted to give a presentation about this issue at puppetconf, but my 
> proposal was rejected. Anyways, I'd be glad to share more specifics if you 
> are interested.
>
>
> [1] https://github.com/puppetlabs/puppet-agent
>
> On Monday, June 13, 2016 at 8:45:12 AM UTC-4, Matt Larson wrote:
>>
>> Eric et al,
>>
>> Thanks again for your help with this!  I realize how crazy it may seem to 
>> want to rebuild from source.  My company has become so paranoid of open 
>> source software due to recent events, that the infosec team now requires us 
>> to vet (as if that's feasible) FOSS source code before bringing in.  Since 
>> starting this post, however, I was able to convince the team to bring in 
>> the PC1 repo.
>>
>> As someone else has suggested to me, I will have to revisit with Vanagon 
>> and/or the src RPM in the future.   I would like to know how to build these 
>> though, so I'll revisit one day for sure. 
>>
>> Cheers,
>> Matt
>>
>> On Thursday, June 9, 2016 at 3:55:49 PM UTC-4, Eric Sorenson wrote:
>>>
>>> Matt, I would like to understand this better and help you adopt Puppet 
>>> into your environment.
>>>
>>> This is not a rhetorical question, but it might sound like one: Do you 
>>> rebuild your linux distribution from source RPMs? Because that is very 
>>> similar to what the AIO Puppet agent bundle is: a mini distribution with 
>>> the dependencies ending up in one artifact.
>>>
>>> People outside Puppet can (and have) successfully rebuilt AIO, and there 
>>> are also sucessful packaging efforts that take JUST the Puppet 4 source and 
>>> build a standalone RPM from it in the manner of the puppet 3 packages:
>>>
>>> puppet-4.2.1-3.fc24.src.rpm 
>>> 
>>>
>>> But our recommendation is to use the all-in-one obviously; it's what's 
>>> tested extensively and what ships in puppet enterprise. 
>>>
>>> --eric
>>>
>>> On Wednesday, June 8, 2016 at 2:01:43 AM UTC-7, Matt Larson wrote:

 Sorry for not getting back soon, Dan.

 Good question.

 I work for a draconian company that only allows installing FOSS after 
 our infosec team has vetted the source code and then built from source; an 
 impossible hand-waving exercise, I know... but it is what it is.

 On Friday, June 3, 2016 at 2:51:10 PM UTC-4, LinuxDan wrote:
>
> First Silly Question: Why ?
> What do you need to do that cannot be done with the RPM's from a 
> Puppetlabs repo ?
>
> Dan White | d_e_...@icloud.com
> 
> “Sometimes I think the surest sign that intelligent life exists elsewhere 
> in the universe is that none of it has tried to contact us.”  (Bill 
> Waterson: Calvin & Hobbes)
>
>
> On Jun 03, 2016, at 02:44 PM, Matt Larson  wrote:
>
>
> I'm trying to create an RPM from source on a stock RHEL6-based 
> (CentOS6) instance, but I'm seeing errors.  I also posted in 
> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>  
>
> The output actually gets pretty far along, but stops at with this 
> error: "install: cannot stat ext/redhat/puppet.conf: no such file or 
> directory". If I fix that problem by manually editing the SPEC file, I 
> just 
> get more errors, so clearly there is no need to go down a rabbit hole 
> since 
> this must work for someone else, right?
>
> I'm also posted in 
> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>
> Ideas?
>
> Thanks in Advance,
> Matt
>
>
> -- 
> 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-users...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/8d532582-be4b-4e58-813e-0e3519043a3f%40googlegroups.com
>  
> 
> .
> For more options, visit https:

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-22 Thread Andreas Zuber
On 06/22/2016 11:54 PM, Eric Sorenson wrote:
>
> Sure, there are definitely people who run the whole stack from gems.
> (There are other people who call those people crazy, but that's a
> different conversation)
>
> This becomes weirder with Facter 3 due to the C++ components; right
> now the puppet Gemfile specifies facter-2.4.4, which works fine but at
> some point there may be divergence between that gem and the latest
> mainline C++-facter.
>

May I ask what the general idea is Puppet (the company) has for those
tools in the future? In my opinion tools like rspec-puppet and friends
are really a requirement when developing modules and currently it is
very easy to use them with just a Gemfile in the module root.

Is there any plan in place to enable the module developers to keep this
convenient way which also makes it very easy to automatically test
against a whole mix of different versions of puppet and facter?

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/576B85E2.7090307%40puzzle.ch.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-22 Thread Eric Sorenson

On Thu, 9 Jun 2016, Rob Nelson wrote:


Eric

Sidebar question I've always had. There's the puppet gem that is commonly
used for rspec-puppet. Could that gem (plus its deps, facter, hiera, etc.)
suffice for some or all use cases?


Sure, there are definitely people who run the whole stack from gems. (There 
are other people who call those people crazy, but that's a different 
conversation)


This becomes weirder with Facter 3 due to the C++ components; right now the 
puppet Gemfile specifies facter-2.4.4, which works fine but at some point 
there may be divergence between that gem and the latest mainline C++-facter.



Eric Sorenson - eric.soren...@puppetlabs.com - freenode #puppet: eric0
puppet platform // coffee // techno // bicycles

--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/alpine.OSX.2.20.1606221447050.10015%40fermium.corp.puppetlabs.net.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-17 Thread Andrew
Matt, take the src rpm that suits your needs.

`mkdir -p rpm/{RPMS/x86_64,RPMS/noarch,SRPMS,SPECS,SOURCES,BUILD,BUILDROOT}`
rpmbuild --rebuild puppet[whatever].srpm

hit ctrl-c before it finishes. This will leave the .spec file and the 
source tarball in the SPECS and SOURCES dirs respectively.

cd SPECS
edit the puppet.spec file to suit (remove ruby-rgen, add rubygems-rgen, 
whatever)

rpmbuild -bb puppet.spec
# watch magic happen.

fish the built rpm files out of RPMS/noarch dir

Although I think it's kinda silly exercise from a secutiry pov, because the 
security nazis dont understand the code anyway ...
I do hear what you are saying about having to go thru this exercise.

Cheers,
Andrew.


On Monday, 13 June 2016 22:45:12 UTC+10, Matt Larson wrote:

> Eric et al,
>
> Thanks again for your help with this!  I realize how crazy it may seem to 
> want to rebuild from source.  My company has become so paranoid of open 
> source software due to recent events, that the infosec team now requires us 
> to vet (as if that's feasible) FOSS source code before bringing in.  Since 
> starting this post, however, I was able to convince the team to bring in 
> the PC1 repo.
>
> As someone else has suggested to me, I will have to revisit with Vanagon 
> and/or the src RPM in the future.   I would like to know how to build these 
> though, so I'll revisit one day for sure. 
>
> Cheers,
> Matt
>
> On Thursday, June 9, 2016 at 3:55:49 PM UTC-4, Eric Sorenson wrote:
>>
>> Matt, I would like to understand this better and help you adopt Puppet 
>> into your environment.
>>
>> This is not a rhetorical question, but it might sound like one: Do you 
>> rebuild your linux distribution from source RPMs? Because that is very 
>> similar to what the AIO Puppet agent bundle is: a mini distribution with 
>> the dependencies ending up in one artifact.
>>
>> People outside Puppet can (and have) successfully rebuilt AIO, and there 
>> are also sucessful packaging efforts that take JUST the Puppet 4 source and 
>> build a standalone RPM from it in the manner of the puppet 3 packages:
>>
>> puppet-4.2.1-3.fc24.src.rpm 
>> 
>>
>> But our recommendation is to use the all-in-one obviously; it's what's 
>> tested extensively and what ships in puppet enterprise. 
>>
>> --eric
>>
>> On Wednesday, June 8, 2016 at 2:01:43 AM UTC-7, Matt Larson wrote:
>>>
>>> Sorry for not getting back soon, Dan.
>>>
>>> Good question.
>>>
>>> I work for a draconian company that only allows installing FOSS after 
>>> our infosec team has vetted the source code and then built from source; an 
>>> impossible hand-waving exercise, I know... but it is what it is.
>>>
>>> On Friday, June 3, 2016 at 2:51:10 PM UTC-4, LinuxDan wrote:

 First Silly Question: Why ?
 What do you need to do that cannot be done with the RPM's from a 
 Puppetlabs repo ?

 Dan White | d_e_...@icloud.com
 
 “Sometimes I think the surest sign that intelligent life exists elsewhere 
 in the universe is that none of it has tried to contact us.”  (Bill 
 Waterson: Calvin & Hobbes)


 On Jun 03, 2016, at 02:44 PM, Matt Larson  wrote:


 I'm trying to create an RPM from source on a stock RHEL6-based 
 (CentOS6) instance, but I'm seeing errors.  I also posted in 
 https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
  

 The output actually gets pretty far along, but stops at with this 
 error: "install: cannot stat ext/redhat/puppet.conf: no such file or 
 directory". If I fix that problem by manually editing the SPEC file, I 
 just 
 get more errors, so clearly there is no need to go down a rabbit hole 
 since 
 this must work for someone else, right?

 I'm also posted in 
 https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/

 Ideas?

 Thanks in Advance,
 Matt


 -- 
 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-users...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/8d532582-be4b-4e58-813e-0e3519043a3f%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
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-users+unsubscr...@goo

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-14 Thread Matthew Gyurgyik
I have successfully built the AIO package using the puppetlabs/puppet-agent 
[1] repository from source. I did this because I needed ppc64le packages 
which puppetlabs does not provide. This isn't the easiest process, but not 
terribly difficult if you are comfortable building software.

I wanted to give a presentation about this issue at puppetconf, but my 
proposal was rejected. Anyways, I'd be glad to share more specifics if you 
are interested.


[1] https://github.com/puppetlabs/puppet-agent

On Monday, June 13, 2016 at 8:45:12 AM UTC-4, Matt Larson wrote:
>
> Eric et al,
>
> Thanks again for your help with this!  I realize how crazy it may seem to 
> want to rebuild from source.  My company has become so paranoid of open 
> source software due to recent events, that the infosec team now requires us 
> to vet (as if that's feasible) FOSS source code before bringing in.  Since 
> starting this post, however, I was able to convince the team to bring in 
> the PC1 repo.
>
> As someone else has suggested to me, I will have to revisit with Vanagon 
> and/or the src RPM in the future.   I would like to know how to build these 
> though, so I'll revisit one day for sure. 
>
> Cheers,
> Matt
>
> On Thursday, June 9, 2016 at 3:55:49 PM UTC-4, Eric Sorenson wrote:
>>
>> Matt, I would like to understand this better and help you adopt Puppet 
>> into your environment.
>>
>> This is not a rhetorical question, but it might sound like one: Do you 
>> rebuild your linux distribution from source RPMs? Because that is very 
>> similar to what the AIO Puppet agent bundle is: a mini distribution with 
>> the dependencies ending up in one artifact.
>>
>> People outside Puppet can (and have) successfully rebuilt AIO, and there 
>> are also sucessful packaging efforts that take JUST the Puppet 4 source and 
>> build a standalone RPM from it in the manner of the puppet 3 packages:
>>
>> puppet-4.2.1-3.fc24.src.rpm 
>> 
>>
>> But our recommendation is to use the all-in-one obviously; it's what's 
>> tested extensively and what ships in puppet enterprise. 
>>
>> --eric
>>
>> On Wednesday, June 8, 2016 at 2:01:43 AM UTC-7, Matt Larson wrote:
>>>
>>> Sorry for not getting back soon, Dan.
>>>
>>> Good question.
>>>
>>> I work for a draconian company that only allows installing FOSS after 
>>> our infosec team has vetted the source code and then built from source; an 
>>> impossible hand-waving exercise, I know... but it is what it is.
>>>
>>> On Friday, June 3, 2016 at 2:51:10 PM UTC-4, LinuxDan wrote:

 First Silly Question: Why ?
 What do you need to do that cannot be done with the RPM's from a 
 Puppetlabs repo ?

 Dan White | d_e_...@icloud.com
 
 “Sometimes I think the surest sign that intelligent life exists elsewhere 
 in the universe is that none of it has tried to contact us.”  (Bill 
 Waterson: Calvin & Hobbes)


 On Jun 03, 2016, at 02:44 PM, Matt Larson  wrote:


 I'm trying to create an RPM from source on a stock RHEL6-based 
 (CentOS6) instance, but I'm seeing errors.  I also posted in 
 https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
  

 The output actually gets pretty far along, but stops at with this 
 error: "install: cannot stat ext/redhat/puppet.conf: no such file or 
 directory". If I fix that problem by manually editing the SPEC file, I 
 just 
 get more errors, so clearly there is no need to go down a rabbit hole 
 since 
 this must work for someone else, right?

 I'm also posted in 
 https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/

 Ideas?

 Thanks in Advance,
 Matt


 -- 
 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-users...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/8d532582-be4b-4e58-813e-0e3519043a3f%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/143193da-290e-4f79-baa1-bfe0df67a0cd%40googlegroups.com.
For more options, visit https://g

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-14 Thread jcbollinger


On Monday, June 13, 2016 at 7:45:12 AM UTC-5, Matt Larson wrote:
>
> Eric et al,
>
> Thanks again for your help with this!  I realize how crazy it may seem to 
> want to rebuild from source.  My company has become so paranoid of open 
> source software due to recent events,
>


At the risk of taking this a bit off-topic, which "recent events" are they 
that make your company hypervigilant about open-source software?

More on-topic: perhaps your company would prefer to license Puppet PE over 
devoting resources to vetting the open-source release.  I mean, when they 
pay for OS X, surely they don't perform a source-level review of the 
underlying BSD-licensed kernel and utilities.  Similarly with all the 
devices they buy that have Linux inside.  And of course, there can be no 
question of demanding to review the source of the many closed-source 
applications they use.  So if the distinguishing characteristic determining 
whether they want to review is whether they've spent money, then I'm 
confident that Puppet, Inc. would be pleased to help solve your problem by 
accepting money in exchange for PE.  It's a win-win!


John

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/569b4f99-d85c-4c9e-9da9-bd1799557c6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-13 Thread Matt Larson
Eric et al,

Thanks again for your help with this!  I realize how crazy it may seem to 
want to rebuild from source.  My company has become so paranoid of open 
source software due to recent events, that the infosec team now requires us 
to vet (as if that's feasible) FOSS source code before bringing in.  Since 
starting this post, however, I was able to convince the team to bring in 
the PC1 repo.

As someone else has suggested to me, I will have to revisit with Vanagon 
and/or the src RPM in the future.   I would like to know how to build these 
though, so I'll revisit one day for sure. 

Cheers,
Matt

On Thursday, June 9, 2016 at 3:55:49 PM UTC-4, Eric Sorenson wrote:
>
> Matt, I would like to understand this better and help you adopt Puppet 
> into your environment.
>
> This is not a rhetorical question, but it might sound like one: Do you 
> rebuild your linux distribution from source RPMs? Because that is very 
> similar to what the AIO Puppet agent bundle is: a mini distribution with 
> the dependencies ending up in one artifact.
>
> People outside Puppet can (and have) successfully rebuilt AIO, and there 
> are also sucessful packaging efforts that take JUST the Puppet 4 source and 
> build a standalone RPM from it in the manner of the puppet 3 packages:
>
> puppet-4.2.1-3.fc24.src.rpm 
> 
>
> But our recommendation is to use the all-in-one obviously; it's what's 
> tested extensively and what ships in puppet enterprise. 
>
> --eric
>
> On Wednesday, June 8, 2016 at 2:01:43 AM UTC-7, Matt Larson wrote:
>>
>> Sorry for not getting back soon, Dan.
>>
>> Good question.
>>
>> I work for a draconian company that only allows installing FOSS after our 
>> infosec team has vetted the source code and then built from source; an 
>> impossible hand-waving exercise, I know... but it is what it is.
>>
>> On Friday, June 3, 2016 at 2:51:10 PM UTC-4, LinuxDan wrote:
>>>
>>> First Silly Question: Why ?
>>> What do you need to do that cannot be done with the RPM's from a 
>>> Puppetlabs repo ?
>>>
>>> Dan White | d_e_...@icloud.com
>>> 
>>> “Sometimes I think the surest sign that intelligent life exists elsewhere 
>>> in the universe is that none of it has tried to contact us.”  (Bill 
>>> Waterson: Calvin & Hobbes)
>>>
>>>
>>> On Jun 03, 2016, at 02:44 PM, Matt Larson  wrote:
>>>
>>>
>>> I'm trying to create an RPM from source on a stock RHEL6-based (CentOS6) 
>>> instance, but I'm seeing errors.  I also posted in 
>>> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>>>  
>>>
>>> The output actually gets pretty far along, but stops at with this error: 
>>> "install: cannot stat ext/redhat/puppet.conf: no such file or directory". 
>>> If I fix that problem by manually editing the SPEC file, I just get more 
>>> errors, so clearly there is no need to go down a rabbit hole since this 
>>> must work for someone else, right?
>>>
>>> I'm also posted in 
>>> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>>>
>>> Ideas?
>>>
>>> Thanks in Advance,
>>> Matt
>>>
>>>
>>> -- 
>>> 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-users...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/puppet-users/8d532582-be4b-4e58-813e-0e3519043a3f%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/a9afa926-20d1-40b4-8725-a571b0058e77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-09 Thread Rob Nelson
Eric

Sidebar question I've always had. There's the puppet gem that is commonly
used for rspec-puppet. Could that gem (plus its deps, facter, hiera, etc.)
suffice for some or all use cases?


Rob Nelson
rnels...@gmail.com

On Thu, Jun 9, 2016 at 3:55 PM, Eric Sorenson 
wrote:

> Matt, I would like to understand this better and help you adopt Puppet
> into your environment.
>
> This is not a rhetorical question, but it might sound like one: Do you
> rebuild your linux distribution from source RPMs? Because that is very
> similar to what the AIO Puppet agent bundle is: a mini distribution with
> the dependencies ending up in one artifact.
>
> People outside Puppet can (and have) successfully rebuilt AIO, and there
> are also sucessful packaging efforts that take JUST the Puppet 4 source and
> build a standalone RPM from it in the manner of the puppet 3 packages:
>
> puppet-4.2.1-3.fc24.src.rpm
> 
>
> But our recommendation is to use the all-in-one obviously; it's what's
> tested extensively and what ships in puppet enterprise.
>
> --eric
>
> On Wednesday, June 8, 2016 at 2:01:43 AM UTC-7, Matt Larson wrote:
>>
>> Sorry for not getting back soon, Dan.
>>
>> Good question.
>>
>> I work for a draconian company that only allows installing FOSS after our
>> infosec team has vetted the source code and then built from source; an
>> impossible hand-waving exercise, I know... but it is what it is.
>>
>> On Friday, June 3, 2016 at 2:51:10 PM UTC-4, LinuxDan wrote:
>>>
>>> First Silly Question: Why ?
>>> What do you need to do that cannot be done with the RPM's from a
>>> Puppetlabs repo ?
>>>
>>> Dan White | d_e_...@icloud.com
>>> 
>>> “Sometimes I think the surest sign that intelligent life exists elsewhere 
>>> in the universe is that none of it has tried to contact us.”  (Bill 
>>> Waterson: Calvin & Hobbes)
>>>
>>>
>>> On Jun 03, 2016, at 02:44 PM, Matt Larson  wrote:
>>>
>>>
>>> I'm trying to create an RPM from source on a stock RHEL6-based (CentOS6)
>>> instance, but I'm seeing errors.  I also posted in
>>> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>>>
>>> The output actually gets pretty far along, but stops at with this error:
>>> "install: cannot stat ext/redhat/puppet.conf: no such file or directory".
>>> If I fix that problem by manually editing the SPEC file, I just get more
>>> errors, so clearly there is no need to go down a rabbit hole since this
>>> must work for someone else, right?
>>>
>>> I'm also posted in
>>> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>>>
>>> Ideas?
>>>
>>> Thanks in Advance,
>>> Matt
>>>
>>>
>>> --
>>> 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-users...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/puppet-users/8d532582-be4b-4e58-813e-0e3519043a3f%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/07f2aed4-eb2b-4d32-aebb-e05dd0377817%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAC76iT91z4-2E6pj4g7dpDUV5H2xpPa_86gv8G8Eeyz6ebEnpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-09 Thread Eric Sorenson
Matt, I would like to understand this better and help you adopt Puppet into 
your environment.

This is not a rhetorical question, but it might sound like one: Do you 
rebuild your linux distribution from source RPMs? Because that is very 
similar to what the AIO Puppet agent bundle is: a mini distribution with 
the dependencies ending up in one artifact.

People outside Puppet can (and have) successfully rebuilt AIO, and there 
are also sucessful packaging efforts that take JUST the Puppet 4 source and 
build a standalone RPM from it in the manner of the puppet 3 packages:

puppet-4.2.1-3.fc24.src.rpm 


But our recommendation is to use the all-in-one obviously; it's what's 
tested extensively and what ships in puppet enterprise. 

--eric

On Wednesday, June 8, 2016 at 2:01:43 AM UTC-7, Matt Larson wrote:
>
> Sorry for not getting back soon, Dan.
>
> Good question.
>
> I work for a draconian company that only allows installing FOSS after our 
> infosec team has vetted the source code and then built from source; an 
> impossible hand-waving exercise, I know... but it is what it is.
>
> On Friday, June 3, 2016 at 2:51:10 PM UTC-4, LinuxDan wrote:
>>
>> First Silly Question: Why ?
>> What do you need to do that cannot be done with the RPM's from a 
>> Puppetlabs repo ?
>>
>> Dan White | d_e_...@icloud.com
>> 
>> “Sometimes I think the surest sign that intelligent life exists elsewhere in 
>> the universe is that none of it has tried to contact us.”  (Bill Waterson: 
>> Calvin & Hobbes)
>>
>>
>> On Jun 03, 2016, at 02:44 PM, Matt Larson  wrote:
>>
>>
>> I'm trying to create an RPM from source on a stock RHEL6-based (CentOS6) 
>> instance, but I'm seeing errors.  I also posted in 
>> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>>  
>>
>> The output actually gets pretty far along, but stops at with this error: 
>> "install: cannot stat ext/redhat/puppet.conf: no such file or directory". 
>> If I fix that problem by manually editing the SPEC file, I just get more 
>> errors, so clearly there is no need to go down a rabbit hole since this 
>> must work for someone else, right?
>>
>> I'm also posted in 
>> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>>
>> Ideas?
>>
>> Thanks in Advance,
>> Matt
>>
>>
>> -- 
>> 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-users...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/8d532582-be4b-4e58-813e-0e3519043a3f%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/07f2aed4-eb2b-4d32-aebb-e05dd0377817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-08 Thread jcbollinger


On Wednesday, June 8, 2016 at 4:06:10 AM UTC-5, Matt Larson wrote:
>
> I did try installing via the PC1 (AIO) repo, and it worked ok for me at 
> home.  But like I said, can't do that at work.
>
> What is your main concern with AIO?  I don't wanna make a bad step here.   
> At first, AIO sounded scary to me... like some alternative to rpm/yum (in 
> case of rhel-based distros), but it's still the same packaging mechanism, 
> just dedicated repos per collective release, yes?
>
>

No, AIO is quite a different beast from a separate repo per release.  It is 
Puppet software plus private copies of substantially all dependencies, all 
in a single package.  It is true that the packages in question are of the 
target machines' native package type, but that's not the point.  I have 
both philosophical and practical objections to the practice, without regard 
to the details of Puppet's AIO packages specifically.  Your Infosec people 
are going to hate it more specifically and intensely, and it is possible 
that you will even run into a policy that forbids (third party) AIO 
packages altogether.  If they undertake the required review, then expect it 
to take a long time, because they will need to review every component 
included in the AIO.


John

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/98b0d9d0-c522-42dd-90ea-755900446d62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-08 Thread Rob Nelson
I believe most reason for concern with AIO is that it installs a separate 
version of ruby, openssl, and other applications and libraries on your 
system. These need upgrading, just like your system apps/libs, and Puppet 
may both expose you to different vulnerabilities, since their versions are 
likely different from your system's, and they may not patch in a timely 
fashion. If you're on something like Arch Linux, probably a very sensible 
concern. As you are stuck using EL6 still, it's probably more sensible to 
use AIO than relying on end-of-support versions of everything from the 
system, particularly ruby 1.8.7. IMO, your security posture can only 
improve by using AIO, regardless of what your infosec ninnies say :)

On Wednesday, June 8, 2016 at 5:06:10 AM UTC-4, Matt Larson wrote:
>
> I did try installing via the PC1 (AIO) repo, and it worked ok for me at 
> home.  But like I said, can't do that at work.
>
> What is your main concern with AIO?  I don't wanna make a bad step here.   
> At first, AIO sounded scary to me... like some alternative to rpm/yum (in 
> case of rhel-based distros), but it's still the same packaging mechanism, 
> just dedicated repos per collective release, yes?
>
> Thanks for your input,
> Matt
>
> On Friday, June 3, 2016 at 6:10:01 PM UTC-4, jcbollinger wrote:
>>
>>
>>
>> On Friday, June 3, 2016 at 1:51:10 PM UTC-5, LinuxDan wrote:
>>>
>>> First Silly Question: Why ?
>>> What do you need to do that cannot be done with the RPM's from a 
>>> Puppetlabs repo ?
>>>
>>
>> If I were undertaking the exercise, it would be to avoid the AIO 
>> structure.  I may one day undertake that exercise, but until now I have 
>> instead just avoided upgrading to Puppet 4.
>>
>>
>> John
>>
>>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/48e9a21e-7cb9-4dc4-9bdb-e4192152edae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-08 Thread Matt Larson
I did try installing via the PC1 (AIO) repo, and it worked ok for me at 
home.  But like I said, can't do that at work.

What is your main concern with AIO?  I don't wanna make a bad step here.   
At first, AIO sounded scary to me... like some alternative to rpm/yum (in 
case of rhel-based distros), but it's still the same packaging mechanism, 
just dedicated repos per collective release, yes?

Thanks for your input,
Matt

On Friday, June 3, 2016 at 6:10:01 PM UTC-4, jcbollinger wrote:
>
>
>
> On Friday, June 3, 2016 at 1:51:10 PM UTC-5, LinuxDan wrote:
>>
>> First Silly Question: Why ?
>> What do you need to do that cannot be done with the RPM's from a 
>> Puppetlabs repo ?
>>
>
> If I were undertaking the exercise, it would be to avoid the AIO 
> structure.  I may one day undertake that exercise, but until now I have 
> instead just avoided upgrading to Puppet 4.
>
>
> John
>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c9df8020-7d7f-40f0-9a47-4685d13e2e93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-08 Thread Matt Larson
Sorry for not getting back soon, Dan.

Good question.

I work for a draconian company that only allows installing FOSS after our 
infosec team has vetted the source code and then built from source; an 
impossible hand-waving exercise, I know... but it is what it is.

On Friday, June 3, 2016 at 2:51:10 PM UTC-4, LinuxDan wrote:
>
> First Silly Question: Why ?
> What do you need to do that cannot be done with the RPM's from a 
> Puppetlabs repo ?
>
> Dan White | d_e_...@icloud.com 
> 
> “Sometimes I think the surest sign that intelligent life exists elsewhere in 
> the universe is that none of it has tried to contact us.”  (Bill Waterson: 
> Calvin & Hobbes)
>
>
> On Jun 03, 2016, at 02:44 PM, Matt Larson  > wrote:
>
>
> I'm trying to create an RPM from source on a stock RHEL6-based (CentOS6) 
> instance, but I'm seeing errors.  I also posted in 
> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>  
>
> The output actually gets pretty far along, but stops at with this error: 
> "install: cannot stat ext/redhat/puppet.conf: no such file or directory". 
> If I fix that problem by manually editing the SPEC file, I just get more 
> errors, so clearly there is no need to go down a rabbit hole since this 
> must work for someone else, right?
>
> I'm also posted in 
> https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
>
> Ideas?
>
> Thanks in Advance,
> Matt
>
>
> -- 
> 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-users...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/8d532582-be4b-4e58-813e-0e3519043a3f%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b4cd4c74-bd80-4a73-a6ca-63fb99047d78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-03 Thread jcbollinger


On Friday, June 3, 2016 at 1:51:10 PM UTC-5, LinuxDan wrote:
>
> First Silly Question: Why ?
> What do you need to do that cannot be done with the RPM's from a 
> Puppetlabs repo ?
>

If I were undertaking the exercise, it would be to avoid the AIO 
structure.  I may one day undertake that exercise, but until now I have 
instead just avoided upgrading to Puppet 4.


John

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c0e0549e-5414-40b9-9fd4-93c7c967da03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-03 Thread Dan White

First Silly Question: Why ?
What do you need to do that cannot be done with the RPM's from a Puppetlabs 
repo ?
Dan White | d_e_wh...@icloud.com

“Sometimes I think the surest sign that intelligent life exists elsewhere in the 
universe is that none of it has tried to contact us.”  (Bill Waterson: Calvin & 
Hobbes)

On Jun 03, 2016, at 02:44 PM, Matt Larson  wrote:


I'm trying to create an RPM from source on a stock RHEL6-based (CentOS6) instance, but I'm seeing errors.  I also posted in https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/ 


The output actually gets pretty far along, but stops at with this error: "install: 
cannot stat ext/redhat/puppet.conf: no such file or directory". If I fix that 
problem by manually editing the SPEC file, I just get more errors, so clearly there is no 
need to go down a rabbit hole since this must work for someone else, right?

I'm also posted in 
https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/

Ideas?

Thanks in Advance,
Matt

--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8d532582-be4b-4e58-813e-0e3519043a3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ae44b8cd-f8a9-4f2a-b983-17c31dc61438%40me.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-03 Thread Matt Larson

I'm trying to create an RPM from source on a stock RHEL6-based (CentOS6) 
instance, but I'm seeing errors.  I also posted in 
https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/
 


The output actually gets pretty far along, but stops at with this error: 
"install: cannot stat ext/redhat/puppet.conf: no such file or directory". 
If I fix that problem by manually editing the SPEC file, I just get more 
errors, so clearly there is no need to go down a rabbit hole since this 
must work for someone else, right?

I'm also posted in 
https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/

Ideas?

Thanks in Advance,
Matt

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8d532582-be4b-4e58-813e-0e3519043a3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.