Re: [Puppet Users] Removing puppet-client-tools from puppet6

2019-05-16 Thread Bram Vogelaar
hello Molly

have there been any developments with regards to (re-) publishing a puppet
6 compatible version of this package?

Bram

On Fri, 5 Apr 2019 at 00:17, Molly Waggett  wrote:

> Hey folks!
>
> Unfortunately we've had to pull the puppet-client-tools packages from the
> puppet6 package repositories. These packages were built against puppet5 and
> are therefore incompatible with the version of OpenSSL used in puppet6.
>
> We will republish puppet6-compatible packages soon.
>
> Thanks for your understanding!
>
> --
> *Molly Waggett*
> she/her/hers
> Release Engineer @ Puppet, Inc.
>
> --
> 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/CAFOE68A%2BbN-hKiH0H8oCfzDj5GEwc_c%2BSSSVqdpPOrLzxSyKtA%40mail.gmail.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/CAGX-YaJPQrscSpwL5fnGLBxc_QzYcnvAXbqFKB61fXYeeZuaAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] facter to return version of an installed package

2019-05-16 Thread Helmut Schneider
Chris Taylor wrote:

> if $operatingsystem == "Ubuntu" { 
>   if versioncmp($facts['os']['release']['full'], '18') >= 0 { 
> package { 'netplan':
>   ensure => present,
> }
> file { "/etc/netplan/windows-dhcp.yaml": 
>   mode=> '0644', 
>   owner   => "${rootUID}", 
>   group   => "${rootGID}", 
>   content => 
> epp("${module_name}/etc/netplan/windows-dhcp.yaml.epp"), 
>   requires => Package['netplan'],
> } 
>   } 
> } 
> 
> If you only want netplan on specific systems, then you'd want that 
> delcaration to be done in such a way to only apply to said systems, I
> leave that as an exercise for the reader, as the mechanism that is
> best depends heavily upon your own setup.

I don't want to install netplan but if it exists do the needful:

  exec { 'test_for_netplan':
path=> ['/usr/bin','/usr/sbin','/bin','/sbin'],
command => "/bin/true",
onlyif  => 'test -n "`dpkg -l | grep netplan | grep ^ii`"',
  }

  if $operatingsystem == "Ubuntu" {
if versioncmp($facts['os']['release']['full'], '18') >= 0 {
  file { "/etc/netplan/windows-dhcp.yaml":
mode=> '0644',
owner   => "${rootUID}",
group   => "${rootGID}",
content =>
epp("${module_name}/etc/netplan/windows-dhcp.yaml.epp"),
require => Exec['test_for_netplan'],
  }
}
  }

-- 
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/xn0lu0bwv6ju0fl000%40news.gmane.org.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Puppet apt repository broken?

2019-05-16 Thread Peter Berghold
After 30+ years in the IT industry I'd have to say "stuff happens."

Thanks for giving it attention

On Wed, May 15, 2019 at 5:06 PM Morgan Rhodes  wrote:

> The bionic repo should be working again. Let us know if you have any more
> issues.
>
> On Wed, May 15, 2019 at 1:45 PM Morgan Rhodes  wrote:
>
>> Hi Peter,
>>
>> Apologies, we've been having some repo issues today. I'm getting the
>> bionic repository updated now and it should be done within the hour. I will
>> send another update here when it completes.
>>
>> On Wed, May 15, 2019 at 1:43 PM Peter Berghold 
>> wrote:
>>
>>> Just this afternoon around 4PM I started noticing this happen in my
>>> Docker builds that incorporate loading the Puppet agent:
>>> W: Skipping acquire of configured file 'puppet/binary-all/Packages' as
>>> repository 'http://apt.puppetlabs.com bionic InRelease' doesn't have
>>> the component 'puppet' (component misspelt in sources.list?)
>>> W: Skipping acquire of configured file 'puppet/binary-amd64/Packages' as
>>> repository 'http://apt.puppetlabs.com bionic InRelease' doesn't have
>>> the component 'puppet' (component misspelt in sources.list?)
>>> Reading package lists...
>>> Building dependency tree...
>>> Reading state information...
>>> Package puppet-agent is not available, but is referred to by another
>>> package.
>>> This may mean that the package is missing, has been obsoleted, or
>>> is only available from another source
>>>
>>> E: Package 'puppet-agent' has no installation candidate
>>>
>>> same Docker build worked swimmingly earlier today and seems broken now
>>> with NOTHING changing in the build (except to add NTP).  Any idea why this
>>> is happening and more importantly any idea when the issue will go away?
>>>
>>>
>>>
>>> --
>>>
>>> Peter L. Berghold   salty.cowd...@gmail.com
>>>
>>> http://devops.berghold.net
>>>
>>>
>>> --
>>> 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/CAArvnv0TA-u%2BxM-8wxrQ9b8FOJ9ZCn_%3DBRR2bqjaimXSZm0jGQ%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Morgan Rhodes
>> Release Engineering
>> mor...@puppet.com
>>
>
>
> --
> Morgan Rhodes
> Release Engineering
> mor...@puppet.com
>
> --
> 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/CA%2BFnDv05WW0i2z5sP7q0LyX65_TBR%3DiDOJYNddh%3DCAuxnaXVfA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Peter L. Berghold   salty.cowd...@gmail.com

http://devops.berghold.net

-- 
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/CAArvnv1-QMhHU-9-skuWcqwAfwxECEDgze95hPLkYJHQTt_Kxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.