cookbook 'x2go-server', '= 1.0.0'
The x2go-server cookbook has been deprecated
Author provided reason for deprecation:
The x2go-server cookbook has been deprecated and is no longer being maintained by its authors. Use of the x2go-server cookbook is no longer recommended.
x2go-server (11) Versions 1.0.0 Follow0
Installs/Configures x2go-server
cookbook 'x2go-server', '= 1.0.0', :supermarket
knife supermarket install x2go-server
knife supermarket download x2go-server
X2go Server Cookbook
A Chef cookbook for the X2go remote desktop server.
Requirements
This cookbook currently supports Ubuntu, Debian and Red Hat-ish Linuxes.
As of v1.0, it requires Chef 12.5+ or Chef 12.x and the
compat_resource
cookbook.
Usage
Add the default recipe to your run_list or use one or more of the included
resources in a recipe of your own.
Recipes
default
Do a simple attribute-based install of the X2go server.
Attributes
default
default['x2go_server']['app']['source'] = nil
An optional source URL or file path to install the x2go server package from.
Resources
x2go_server
A parent resource for the X2go server components.
Syntax:
x2go_server 'default' do
source 'http://example.com/x2go.package'
action :create
end
Actions:
Action | Description |
---|---|
:create |
Install X2go server and enable/start the service |
:remove |
Stop/disable the X2go service and uninstall it |
Attributes:
Attribute | Default | Description |
---|---|---|
source | nil |
An optional custom package PATH/URL |
action | :create |
Action(s) to perform |
x2go_server_app
A resource for installation and removal of the X2go server app package.
Syntax:
x2go_server_app 'default' do
source 'http://example.com/x2go.package'
action :install
end
Actions:
Action | Description |
---|---|
:install |
Install the X2go server package |
:remove |
Uninstall the X2go server package |
Attributes:
Attribute | Default | Description |
---|---|---|
source | nil |
An optional custom package PATH/URL |
action | :install |
Action(s) to perform |
x2go_server_service
A resource for the X2go server service.
Syntax:
x2go_server_service 'default' do
action :restart
end
Actions:
Action | Description |
---|---|
:enable |
Enable the service |
:disable |
Disable the service |
:start |
Start the service |
:stop |
Stop the service |
:restart |
Restart the service |
Attributes:
Attribute | Default | Description |
---|---|---|
action | [:enable, :start] |
Action(s) to perform |
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Add tests for the new feature; ensure they pass (
rake
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
License & Authors
- Author: Jonathan Hartman jonathan.hartman@socrata.com
Copyright 2015-2016, Socrata, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
X2go Server Cookbook CHANGELOG
v1.0.0 (2016-05-12)
- Update apt cookbook dependency
- Convert to custom resources, breaking compatibility with Chef 11
- Start testing against Ubuntu 16.04
v0.2.1 (2015-10-26)
- Fix bug with service not being started in Chef 12.5.x
- Move the Fedora app provider around to bypass issues with the ordering of multiple providers for a platform behaving differently in different versions of Chef
V0.2.0 (2015-09-27)
- Add RHEL and RHEL-alike support
- Add Fedora support
v0.1.1 (2015-09-16)
- Loosen the version constraint for the apt cookbook dependency
v0.1.0 (2015-09-15)
- Initial release, w/ support for Ubuntu only
v0.0.1 (2015-09-11)
- Development started
Foodcritic Metric
1.0.0 passed this metric
1.0.0 passed this metric