Here we will explore how Orchestrator can interact with the filesystem of its operating system. We will also take a look at how to access a network share and execute local files.
Orchestrator needs to be able to access a directory on the local filesystem. To configure this access and set the access rights, take a look at the Configuring access to the local filesystem recipe in Chapter 2, Optimizing Orchestrator Configuration.
In my example, I will simply use the default Orchestrator file location that is set to rwx
the directory /var/run/vco/
.
In addition to this, you should have administrative (root) access to Orchestrator's operating system.
We have a bit of ground to cover, so let's start!
This part showcases how to write into a file with, and without, a line feed as well as how to append to an existing file:
Create a new workflow and create the following variables:
Name
Type
Section
Use
fileName
String
IN
The name...
The rest of the chapter is lockedRegister for a free Packt account to unlock a world of extra content!A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.Unlock this book and the full library FREE for 7 daysGet unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think ofRenews at €14.99/month. Cancel anytime}Authors (1)
Personalised recommendations for you
Based on your interests and search pattern