/srv/irclogs.ubuntu.com/2015/10/01/#cloud-init.txt

Odd_Blokesmoser: So I think https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/1/html/1.0_Release_Notes/chap-RHSCL.html#sect-RHSCL-Features is enough for us to be happy that Python 2.7 is viable on RHEL6.09:55
Odd_Bloke"all Red Hat Software Collections components are fully supported under Red Hat Enterprise Linux Subscription Level Agreements, are functionally complete, and are intended for production use."09:55
Odd_Blokesmoser: And, in fact, GCE Red Hat 6 instances come with the Python 2.7 SCL already installed.09:58
ginHello, would you be kind to help me out with Cloud-Init configuration? I want to bootstrap Puppet agent for CentOS 7 (AWS AMI). The given example http://cloudinit.readthedocs.org/en/latest/topics/examples.html#setup-and-run-puppet does not work. From the logs I can see puppet package is missing.12:29
ginIs this the expected behaviour and I need to add puppet repository myself?12:29
=== _crobertsrh is now known as crobertsrh
smoserOdd_Bloke, that is odd. why is that not even remotely what you get when you google python 2.7 rhel12:55
smoseras recent as july, you have posts like this:12:56
smoser http://tecadmin.net/install-python-2-7-on-centos-rhel/#12:56
Odd_Blokesmoser: If you're a RHEL user, I don't think you have to Google to find solutions.13:00
Odd_BlokeYou have Red Hat to tell you about them. :p13:00
smoserthat just doesnt make sense though.13:00
smoserand if people are writing things like that blog post (who apparently *are* redhat customers) then surely they're not just doing it because they like compiling their own python13:01
Odd_BlokeWell, that blog post is about CentOS, not RHEL.13:02
Odd_Blokesmoser: CentOS appears to have SCLs as well.13:07
smoserhttps://wiki.centos.org/AdditionalResources/Repositories/SCL#head-9c6aea9c13b921d5258446c4c5e5886571bdb74113:08
smoseryeah.13:08
smoser(x86_64 only)13:08
smoserok. i'm sold on 2.7 for rhel13:08
Odd_Blokesmoser: GCE image for CentOS 6 also has Python 2.7 installed via SCL, so I think it's viable for both.13:11
ginHow to enforce sequential execution in cloud-init script? The following script adds repository after the attempt to install the package that requires it. http://pastebin.com/YK2SRBnZ13:23
ginI can't seem to find any documentation regarding this...13:28
larsksgin: modules are executed in the order in which they are listed in your cloud-init configuration (usually, /etc/cloud/cloud.cfg + whatever #cloud-config data you pass in)13:30
larsksTypically, runcmd happens near the end of things.13:30
larsksHowever, there is an "add repository" module that may be enabled to run before "13:30
larsks...before "packages"13:30
larsksE.g., this example: http://cloudinit.readthedocs.org/en/latest/topics/examples.html#adding-a-yum-repository13:31
larsksIn centos and RHEL, the yum-add-repo module is enabled by default and configured to run before package-update-upgrade-install.13:32
ginthanks larsks for calrifying. Will try it out now.13:35
ginhas anyone tried cloud-init puppet conf? (http://cloudinit.readthedocs.org/en/latest/topics/examples.html#setup-and-run-puppet)14:51
ginfor CentOS714:51
ginI get warning and hence empty puppet.conf file:  util.py[WARNING]: Running puppet (<module 'cloudinit.config.cc_puppet' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_puppet.pyc'>) failed14:52
smosergin,  i suspect it needs fixing.15:02
ginsmoser, seems like so.15:28
smoserOdd_Bloke, https://code.launchpad.net/~daniel-thewatkins/cloud-init/shim_fixes/+merge/26919915:37
smosercomments tehre.15:37
Odd_Blokesmoser: Oh, yeah, I'd lost track of that.15:48
Odd_BlokeThanks!15:48
=== shardy is now known as shardy_afk
=== shardy_afk is now known as shardy
=== crobertsrh is now known as _crobertsrh

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!