doc smoketest must be run as root.
debug rather than echo
extract json_edit variable for brevity
extract parse_node_data variable for brevity
rename CROWBAR_FILE to CROWBAR_JSON for consistency
install-chef-suse: Do not install nagios barclamp

It is not ready for SUSE.

Note that we need to create a dummy nagios cookbook to satisfy the
cookbook dependencies.
Merge pull request #8 from crowbar/master

pull last changes
bnc#829301 - Unsigned repo warning

bnc#829301 - Installing packages from Cloud-PTF gives unsigned repo warning
This commit creates a gpg key on the admin node, if it does not already exist,
and signs the SUSE-Cloud-PTF repository and copies the public key to the
repository
Added changes as requested in the piull-request discussion
Call create_gpg_key from sign_repositories, not the opposite

Also change some strings again :-)
Merge pull request #1 from vuntz/bnc829301

Call create_gpg_key from sign_repositories, not the opposite
Only sign Cloud-PTF repository if it exists
add json_read
json-edit: add --no-clobber option

This will allow us to preserve values set manually in /etc/crowbar/*.json,
whilst still providing sensible defaults for values not set manually -
for example, DNS forwarders and ssh authorized keys.
avoid duplication when handling custom JSON, and honour custom provisioner JSON

This will allow us to configure an external SMT server by placing appropriate
configuration in /etc/crowbar/provisioner.json, e.g.:

    {
      "attributes": {
        "provisioner": {
          "suse": {
            "autoyast": {
              "repos": {
                "SLES11-SP3-Updates": {
                  "url": "http://smt.suse.de/repo/$RCE/SLES11-SP3-Updates/sle-11-x86_64/"
                },
                "SLES11-SP3-Pool": {
                  "url": "http://smt.suse.de/repo/$RCE/SLES11-SP3-Pool/sle-11-x86_64/"
                }
              }
            }
          }
        }
      }
    }
json-edit: allow key elements containing '.', by backslash-escaping

    ./json-edit -a 'foo.2\.0.bar' -v 'value' test.json

will now result in:

    {
      "foo": {
        "2.0": {
          "bar": "value"
        }
      }
    }

This is now required since we will be enumerating repositories to be
included in autoyast.xml generation from meta-data contained in
provisioner.json, and we want to key that meta-data by repository
name to avoid requiring an extra set of repository keys.  Repository
names can be things like "SUSE-Cloud-2.0-Updates", hence the need for
allowing JSON key elements to contain ".".

There is a corresponding commit in the barclamp-provisioner repository
adding the same behaviour to parse_node_data.
skip local repo checks if external SMT server is configured
install-chef-suse: Install nfs_client barclamp if available
Merge pull request #2 from vuntz/bnc829301

Only sign Cloud-PTF repository if it exists
Mount NFS exports that we know about and that are available

This is more or less a way to add 29b97580 back, while allowing to keep
compatibility with non-pebbles branches.