Installs and configures Ubumirror.
Ubuntu 12.04 Ubuntu 14.04
['ubumirror']['email'] | String | Which email address/user that will receive failure notices. | root@localhost |
['ubumirror']['hostname'] | String | Server's FQDN. | node['fqdn'] |
['ubumirror']['speed'] | String | Bandwidth limit for all mirror scripts - set to 0 for no limit. | 0 |
['ubumirror']['log_dir'] | String | The destination directory of all the logs. | /var/log/ubumirror |
['ubumirror']['ubuarc_enable'] | Boolean | false | |
['ubumirror']['ubucdi_enable'] | Boolean | false | |
['ubumirror']['uburel_enable'] | Boolean | false | |
['ubumirror']['ubupor_enable'] | Boolean | false | |
['ubumirror']['ubuarc_dir'] | String | The destination for the base of the archive directory. | /srv/mirror/ubuntu |
['ubumirror']['ubucdi_dir'] | String | The destination for the base of the cdimage directory. | /srv/mirror/ubuntu-cdimage |
['ubumirror']['uburel_dir'] | String | The destination for the base of the releases directory. | /srv/mirror/ubuntu-releases |
['ubumirror']['ubupor_dir'] | String | The destination for the base of the ports directory. | /srv/mirror/ubuntu-ports |
['ubumirror']['ubuarc_mirror'] | String | The rsync path in the form of host::directory/ of the upstream archive mirror. | archive.ubuntu.com::ubuntu/ |
['ubumirror']['ubucdi_mirror'] | String | The rsync path in the form of host::directory/ of the upstream cdimage mirror. | cdimage.ubuntu.com::cdimage/ |
['ubumirror']['uburel_mirror'] | String | The rsync path in the form of host::directory/ of the upstream releases mirror. | rsync.releases.ubuntu.com::releases/ |
['ubumirror']['ubupor_mirror'] | String | The rsync path in the form of host::directory/ of the upstream ports mirror. | ports.ubuntu.com::ubuntu-ports/ |
['ubumirror']['ubucdi_flavours'] | Array | The set of image flavours to pull from UBICDI_MIRROR. | %w( daily daily-live ubuntu-netbook/daily-live ubuntu-server/daily ) |
['ubumirror']['ubuarc_exclude'] | Array | The set of archive objects to exclude from syncing. | %w( binary-powerpc/ binary-sparc/ daily-installer-powerpc/ daily-installer-sparc/ installer-powerpc/ installer-sparc/ *_powerpc.deb *_powerpc.udeb *_sparc.deb *_sparc.udeb Contents-powerpc.gz Contents-sparc.gz ) |
['ubumirror']['ubucdi_exclude'] | Array | The set of cdimage objects to exclude from syncing. | %w( *-powerpc.* *-sparc.* source/ ) |
['ubumirror']['uburel_exclude'] | Array | The set of release objects to exclude from syncing. | %w( *-powerpc.* *-sparc.* ) |
['ubumirror']['ubupor_exclude'] | Array | The set of ports objects to exclude from syncing. | %w( binary-powerpc/ binary-sparc/ daily-installer-powerpc/ daily-installer-sparc/ installer-powerpc/ installer-sparc/ *_powerpc.deb *_powerpc.udeb *_sparc.deb *_sparc.udeb Contents-powerpc.gz Contents-sparc.gz ) |
Include ubumirror
in your node's run_list
:
{
"run_list": [
"recipe[ubumirror::default]"
]
}
Author:: Matt Whiteley ([email protected])