Install puppet 3.4 on Ubuntu 12.04 during preseed

Hi All,

I'm trying to install Puppet 3.4 instead of 2.7 during my Ubuntu 12.04
install, but this doesn't seem to work out.

I have created the following global parameter to the host: enable-puppetlabs-repo
true

That set in my preseed file:

Puppetlabs repo

d-i apt-setup/local1/repository string
http://apt.puppetlabs.com/ precise main
d-i apt-setup/local1/comment string Puppetlabs packages
d-i apt-setup/local1/key string http://apt.puppetlabs.com/pubkey.gpg

My host is after this still installed with 2.7

Anyone an idea how to get 3.4 in there during the install ?

Thanks,

Matt

OK I have this working by changing local1 to local0, my templates were from
the first versions.

Now Ubuntu doesn't install 3.4 as it has unmet dependencies.

Is this fixable as I need to do a apt-get dist-upgrade on a already
installed version to get 3.4 installed.

··· Op zaterdag 25 januari 2014 21:19:55 UTC+1 schreef yamaka...@gmail.com: > > Hi All, > > I'm trying to install Puppet 3.4 instead of 2.7 during my Ubuntu 12.04 > install, but this doesn't seem to work out. > > I have created the following global parameter to the host: *enable-puppetlabs-repo > true* > > That set in my preseed file: > > # Puppetlabs repo > d-i apt-setup/local1/repository string \ > http://apt.puppetlabs.com/ precise main > d-i apt-setup/local1/comment string Puppetlabs packages > d-i apt-setup/local1/key string http://apt.puppetlabs.com/pubkey.gpg > > > My host is after this still installed with 2.7 > > Anyone an idea how to get 3.4 in there during the install ? > > Thanks, > > Matt > > >

This is fixed by the latest Erb file from github.

··· Op zaterdag 25 januari 2014 21:19:55 UTC+1 schreef yamaka...@gmail.com: > > Hi All, > > I'm trying to install Puppet 3.4 instead of 2.7 during my Ubuntu 12.04 > install, but this doesn't seem to work out. > > I have created the following global parameter to the host: *enable-puppetlabs-repo > true* > > That set in my preseed file: > > # Puppetlabs repo > d-i apt-setup/local1/repository string \ > http://apt.puppetlabs.com/ precise main > d-i apt-setup/local1/comment string Puppetlabs packages > d-i apt-setup/local1/key string http://apt.puppetlabs.com/pubkey.gpg > > > My host is after this still installed with 2.7 > > Anyone an idea how to get 3.4 in there during the install ? > > Thanks, > > Matt > > >

I usually make sure all the repos I need for Foreman, Puppetlabs etc are
installed and ready to go before I run the installer and have had no
problems. You might want to consider doing the same. Either use a script or
if you are cloud based bake it into your base image.

Jim

··· On 25 January 2014 22:23, wrote:

OK I have this working by changing local1 to local0, my templates were
from the first versions.

Now Ubuntu doesn’t install 3.4 as it has unmet dependencies.

Is this fixable as I need to do a apt-get dist-upgrade on a already
installed version to get 3.4 installed.

Op zaterdag 25 januari 2014 21:19:55 UTC+1 schreef yamaka...@gmail.com:

Hi All,

I’m trying to install Puppet 3.4 instead of 2.7 during my Ubuntu 12.04
install, but this doesn’t seem to work out.

I have created the following global parameter to the host: enable-puppetlabs-repo
true

That set in my preseed file:

Puppetlabs repo

d-i apt-setup/local1/repository string
http://apt.puppetlabs.com/ precise main
d-i apt-setup/local1/comment string Puppetlabs packages
d-i apt-setup/local1/key string http://apt.puppetlabs.com/pubkey.gpg

My host is after this still installed with 2.7

Anyone an idea how to get 3.4 in there during the install ?

Thanks,

Matt


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.

Hi James,

OK, but you do some extra magic in the preseed file ?

This is the error I get, see attachment.

Thanks,

Matt

··· 2014-01-26 James Bailey

I usually make sure all the repos I need for Foreman, Puppetlabs etc are
installed and ready to go before I run the installer and have had no
problems. You might want to consider doing the same. Either use a script or
if you are cloud based bake it into your base image.

Jim

On 25 January 2014 22:23, yamakasi.014@gmail.com wrote:

OK I have this working by changing local1 to local0, my templates were
from the first versions.

Now Ubuntu doesn’t install 3.4 as it has unmet dependencies.

Is this fixable as I need to do a apt-get dist-upgrade on a already
installed version to get 3.4 installed.

Op zaterdag 25 januari 2014 21:19:55 UTC+1 schreef yamaka...@gmail.com:

Hi All,

I’m trying to install Puppet 3.4 instead of 2.7 during my Ubuntu 12.04
install, but this doesn’t seem to work out.

I have created the following global parameter to the host: enable-puppetlabs-repo
true

That set in my preseed file:

Puppetlabs repo

d-i apt-setup/local1/repository string
http://apt.puppetlabs.com/ precise main
d-i apt-setup/local1/comment string Puppetlabs packages
d-i apt-setup/local1/key string http://apt.puppetlabs.com/pubkey.gpg

My host is after this still installed with 2.7

Anyone an idea how to get 3.4 in there during the install ?

Thanks,

Matt


You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.

To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/IwXqZhBJgxk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.