gitlab ci for puppet control-repo – a test suite

There’s lots of content already out there about puppet CI testing; this is what I initially came up with using GitLab CI, and with various other improvements such blogged about previously in posts tagged gitlab-runner such as:

  • Separate rake files. A lot of examples I found had very long complicated rake files to define different ‘subroutines’ that could then be called. For the beginner, a three line rake file that does one job is easier to understand and maintain.
  • Less litter in root of the git repo.

Running under a shell executor initially, this is my CI setup.

# ci/definition.yml before_script: - /bin/bundle install --gemfile=ci/Gemfile stages: - syntax - lint - git lint: stage: lint script: - BUNDLE_GEMFILE=ci/Gemfile /bin/bundle exec rake --rakefile ci/rakefile_lint lint syntax-manifests: stage: syntax script: - BUNDLE_GEMFILE=ci/Gemfile /bin/bundle exec rake --rakefile ci/rakefile_syntax syntax:manifests syntax-templates: stage: syntax script: - BUNDLE_GEMFILE=ci/Gemfile /bin/bundle exec rake --rakefile ci/rakefile_syntax syntax:templates syntax-hiera: stage:…

View original post 464 more words

Systemd display services as graphic

Systemd have loots of tools to analyses boot performance on your system. If you want this to display graphical then use this command.

We want to display the bluetooth stack.

systemd-analyze dot 'bluetooth*' | dot -Tsvg > blue.svg
Systemd bluetooth overview

If you want to see the complete boot sequence from systemd use this command.

systemd-analyze plot > complete_systemd_boot.svg

Twitch 4000 error on Suse Linux

What a heck. Installed a fresh Suse tumbleweed and Twitch is not running. All Browsers have an error 4000.

You must install some codecs. How it works?

openSUSE Tumbleweed:

sudo zypper addrepo -cfp 90 '' packman

openSUSE Leap:

sudo zypper addrepo -cfp 90 '$releasever/' packman
for all systems the same command

sudo zypper refresh
sudo zypper dist-upgrade --from packman --allow-vendor-change
sudo zypper install --from packman ffmpeg gstreamer-plugins-{good,bad,ugly,libav} libavcodec-full vlc-codecs

thats it

found here