Ask Your Question
0

Apt::ppa and Package Install to LAMP HOWTO?

asked 2014-02-09 22:58:26 -0500

Rob D gravatar image

Right now, I'm in the trough of disillusionment as I try to learn Puppet by setting up a home server running Ubuntu Precise x64 Server with ZFS.

I'm looking for examples of common setups, especially how to take a vanilla precise64 installation and turn it into Something Wonderful (e.g., XBMC/Plex box, backup/Time Capsule, Git repo, SMB, NFS, SSH, development environments, Docker apps, some/all of the above).

So far, one of the most enlightening pieces of documentation I have found on learning Puppet is Joe Rodriguez Jr's puppet-lamp-stack. It presents a very simple environment ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-04 09:39:26 -0500

You don't change any filesystem setup with any automatization tool like puppet. It's too likely something breaks up.

Of course, you can already prepare the manual setup process by installing the needed software zfsutils.

And if you dare you just write a script puppet's gonna execute which I don't recommend.

  exec { 'createzfssetup':
    command => '/usr/local/bin/myzfscreationscript',
    unless  => '/usr/local/bin/iszfsalreadysetup',
  }

and distribute the script files accordingly and install relationships between them and the Exec-resource.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-02-09 22:58:26 -0500

Seen: 349 times

Last updated: Apr 04 '15